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