admin
2019-07-24 c8a99ed8218fe034e9c33236969fcbec9eac75bb
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
package com.yeshi.fanli.exception;
 
public class BindingAccountException extends Exception {
    private static final long serialVersionUID = 9044535997260029818L;
 
    // 账户不可抵达
    public static int CODE_ACCOUNT_UNARRIVE = 1;
 
    // 账户出错
    public static int CODE_ACCOUNT_ERROR = 2;
 
    // 其他未知错误
    public static int CODE_OTHER_ERROR = 3;
 
    private int code;
    private String msg;
 
    public int getCode() {
        return code;
    }
 
    public String getMsg() {
        return msg;
    }
 
    public BindingAccountException() {
    }
 
    public BindingAccountException(String msg) {
        super(msg);
    }
 
    public BindingAccountException(int code, String msg) {
        this.code = code;
        this.msg = msg;
    }
}