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