package com.yeshi.fanli.exception.push; public class PushGoodsException extends Exception { private static final long serialVersionUID = 1L; private int code; private String msg; public PushGoodsException() {} public PushGoodsException(int code, String msg) { this.code = code; this.msg = msg; } public int getCode() { return code; } public String getMsg() { return msg; } @Override public String getMessage() { return this.msg; } }