@Deprecated
public class AError
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
static int |
AKErrorInvokeNetError
Deprecated.
网络错误
|
static int |
AKErrorInvokeServerError
Deprecated.
业务网关错误
|
static int |
AKErrorLoginTokenIllegalError
Deprecated.
登录 token失效 , session过期
|
static int |
AKErrorServerBusinessError
Deprecated.
业务错误
|
static int |
AKErrorSuccess
Deprecated.
业务成功
|
static int |
AKErrorUnknownError
Deprecated.
客户端内部错误
|
static java.lang.String |
ERR_DOMAIN_NAME_ALINK
Deprecated.
|
Constructor and Description |
---|
AError()
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
int |
getCode()
Deprecated.
返回错误码
|
java.lang.String |
getDomain()
Deprecated.
获取 Domain
|
java.lang.String |
getMsg()
Deprecated.
返回错误描述
|
java.lang.Object |
getOriginResponseObject()
Deprecated.
获取原始响应对象
|
int |
getSubCode()
Deprecated.
返回子错误码
|
java.lang.String |
getSubDomain()
Deprecated.
获取 Sub Domain
|
java.lang.String |
getSubMsg()
Deprecated.
返回子错误描述
|
void |
setCode(int code)
Deprecated.
设置 Code
|
void |
setDomain(java.lang.String domain)
Deprecated.
设置 Domain
|
void |
setMsg(java.lang.String msg)
Deprecated.
设置 Message
|
void |
setOriginResponseObject(java.lang.Object originResponseObj)
Deprecated.
设置原始响应对象
|
void |
setSubCode(int subCode)
Deprecated.
设置 SubCode
|
void |
setSubDomain(java.lang.String subDomain)
Deprecated.
设置 SubDomain
|
void |
setSubMsg(java.lang.String subMsg)
Deprecated.
设置Sub Message
|
public static final java.lang.String ERR_DOMAIN_NAME_ALINK
public static final int AKErrorSuccess
public static final int AKErrorUnknownError
public static final int AKErrorInvokeNetError
public static final int AKErrorInvokeServerError
public static final int AKErrorServerBusinessError
public static final int AKErrorLoginTokenIllegalError
public void setDomain(java.lang.String domain)
domain
- 错误域,默认为 alinkErrorDomainpublic void setCode(int code)
code
- 错误码public void setMsg(java.lang.String msg)
msg
- public void setSubDomain(java.lang.String subDomain)
subDomain
- public void setSubCode(int subCode)
subCode
- public void setSubMsg(java.lang.String subMsg)
subMsg
- public java.lang.String getDomain()
public int getCode()
public java.lang.String getMsg()
public java.lang.String getSubDomain()
public int getSubCode()
public java.lang.String getSubMsg()
public java.lang.Object getOriginResponseObject()
public void setOriginResponseObject(java.lang.Object originResponseObj)
originResponseObj
-