| | |
| | | package com.yeshi.fanli.exception.integral;
|
| | |
|
| | | public class IntegralTaskRecordException extends Exception {
|
| | | /**
|
| | | * |
| | | */
|
| | | import com.yeshi.fanli.exception.BaseException;
|
| | |
|
| | | public class IntegralTaskRecordException 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 IntegralTaskRecordException(int code, String msg) {
|
| | | this.code = code;
|
| | | this.msg = msg;
|
| | | super(code, msg);
|
| | | }
|
| | |
|
| | | public IntegralTaskRecordException() {
|
| | | super();
|
| | | }
|
| | |
|
| | | @Override
|
| | | public String getMessage() {
|
| | | return this.msg;
|
| | | }
|
| | |
|
| | | }
|