| | |
| | | package com.yeshi.fanli.exception.push;
|
| | |
|
| | | public class PushGoodsGroupException extends Exception {
|
| | | |
| | | private static final long serialVersionUID = 1L;
|
| | | |
| | | private int code;
|
| | | private String msg;
|
| | |
|
| | | public PushGoodsGroupException() {}
|
| | | |
| | | public PushGoodsGroupException(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;
|
| | | }
|
| | |
|
| | | }
|
| | | package com.yeshi.fanli.exception.push; |
| | | |
| | | import com.yeshi.fanli.exception.BaseException; |
| | | |
| | | public class PushGoodsGroupException extends BaseException { |
| | | |
| | | private static final long serialVersionUID = 1L; |
| | | |
| | | public PushGoodsGroupException(int code, String msg) { |
| | | super(code, msg); |
| | | } |
| | | |
| | | public PushGoodsGroupException() { |
| | | super(); |
| | | } |
| | | } |