package com.yeshi.fanli.exception;
|
|
public class ShareGoodsException extends Exception {
|
/**
|
*
|
*/
|
private static final long serialVersionUID = 1L;
|
private int code;
|
private String msg;
|
|
public int getCode() {
|
return code;
|
}
|
|
public void setCode(int code) {
|
this.code = code;
|
}
|
|
public String getMsg() {
|
return msg;
|
}
|
|
public void setMsg(String msg) {
|
this.msg = msg;
|
}
|
|
public ShareGoodsException() {
|
|
}
|
|
public ShareGoodsException(int code, String msg) {
|
this.code = code;
|
this.msg = msg;
|
}
|
|
@Override
|
public String getMessage() {
|
return this.msg;
|
}
|
|
}
|