Modifier and Type | Method and Description |
---|---|
Constants.CONNECTION_ERROR |
Response.getErrorCode()
getErrorCode: return the error code received in the response
|
static Constants.CONNECTION_ERROR |
Constants.CONNECTION_ERROR.valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static Constants.CONNECTION_ERROR[] |
Constants.CONNECTION_ERROR.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
Modifier and Type | Method and Description |
---|---|
void |
Response.setErrorCode(Constants.CONNECTION_ERROR errorCode)
setErrorCode: set the initial error code
|
Constructor and Description |
---|
Response(Constants.CONNECTION_ERROR code) |
Response(Constants.CONNECTION_ERROR code,
java.lang.String msg) |