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;
|
}
|
}
|