admin
2019-02-21 7e57a20c0ccde504c2f2b2b9fd4a9fd7c89d5e92
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 org.fanli.facade.user.exception.account;
 
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;
    }
}