public class ANError
extends java.lang.Exception
| 构造器和说明 |
|---|
ANError() |
ANError(Response response) |
ANError(Response response,
java.lang.Throwable throwable) |
ANError(java.lang.String message) |
ANError(java.lang.String message,
Response response) |
ANError(java.lang.String message,
Response response,
java.lang.Throwable throwable) |
ANError(java.lang.String message,
java.lang.Throwable throwable) |
ANError(java.lang.Throwable throwable) |
| 限定符和类型 | 方法和说明 |
|---|---|
java.lang.String |
getErrorBody() |
int |
getErrorCode() |
java.lang.String |
getErrorDetail() |
Response |
getResponse() |
void |
setCancellationMessageInError() |
void |
setErrorBody(java.lang.String errorBody) |
void |
setErrorCode(int errorCode) |
void |
setErrorDetail(java.lang.String errorDetail) |
public ANError()
public ANError(Response response)
public ANError(java.lang.String message)
public ANError(java.lang.String message,
Response response)
public ANError(java.lang.String message,
java.lang.Throwable throwable)
public ANError(java.lang.String message,
Response response,
java.lang.Throwable throwable)
public ANError(Response response, java.lang.Throwable throwable)
public ANError(java.lang.Throwable throwable)
public Response getResponse()
public void setErrorDetail(java.lang.String errorDetail)
public java.lang.String getErrorDetail()
public void setErrorCode(int errorCode)
public int getErrorCode()
public void setCancellationMessageInError()
public java.lang.String getErrorBody()
public void setErrorBody(java.lang.String errorBody)