Accela SDK for Android
V3.0
|
Public Member Functions | |
AMError (String traceId, String errorMessage, String more) | |
String | getTraceId () |
String | getErrorMessage () |
String | getMore () |
String | toString () |
Static Public Attributes | |
static final int | ERROR_CODE_REQUEST_TIMEOUT = 1000 |
static final int | ERROR_CODE_EMSE_FAILURE = 11000 |
static int | ERROR_CODE_JSON_PARSING = 1008 |
static int | ERROR_CODE_BUSINESS = 1009 |
static final int | ERROR_CODE_EXCEPTION = 9999 |
static final int | ERROR_CODE_HTTP_MINIMUM = 300 |
static int | ERROR_CODE_Bad_Request = 400 |
static int | ERROR_CODE_Unauthorized = 401 |
static int | ERROR_CODE_Forbidden = 403 |
static int | ERROR_CODE_Not_Found = 404 |
static int | ERROR_CODE_Internal_Server_Error = 500 |
Accela Amobile File: AError.java
Accela, Inc. Copyright (C): 2013
Description: Error object wrapper
Notes:
Revision History
|
inline |
Constructor with the given parameters.
traceId | The trace Id for debugging the error on mobile server. |
errorMessage | The error message string. |
more | The more detailed error message string. |
|
inline |
Get error message of the current error.
|
inline |
Get more detailed error message of the current error.
|
inline |
Get trace Id of the current error.
|
inline |
Convert the current error object to a string.
|
static |
HTTP standard error code, which indicates error in HTTP / HTTPS request syntax.
|
static |
A customized error code, which means error in business processing.
|
static |
A customized error code, which returned from cloud API when an operation(e.g. result inspection) fails due to EMSE event.
|
static |
A customized error code, which means unexpected error(e.g. exceptions)
|
static |
HTTP standard error code, which indicates error in client's access to service APIs.
|
static |
The minimum status code for HTTP errors. Any code which is greater than this number means HTTP error.
|
static |
HTTP standard error code, which indicates error in cloud server when calling service APIs.
|
static |
A customized error code, which means error in JSON parsing.
|
static |
HTTP standard error code, which indicates error in the requested URI of service APIs.
|
static |
A customized error code, which means timeout in HTTP request.
|
static |
HTTP standard error code, which indicates error in client's authorization to service APIs.