Package es.situm.sdk.communication
Interface CommunicationManager.Code
- All Superinterfaces:
CommonErrorConstant.Code
- Enclosing interface:
- CommunicationManager
The error codes received in
Handler.onFailure(Error) on the CommunicationManager-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intFile not foundstatic final intServer returned data correctly, but something went wrong while saving it on disk.static final intThe request was unacceptable, often due to missing a required parameter.static final intThe request resource doesn't exist.static final intThe parameters were valid but the request failed.static final intSomething went wrong on Situm's end.static final intProvided credentials are not valid.static final intThe request could not be performed due to an illegal argument in the caller method.static final intError while creating request payload.static final intServer returned a JSON that can't be read.static final intNetwork error.Fields inherited from interface es.situm.sdk.error.CommonErrorConstant.Code
INTERNAL_ERROR, INTERNET_NOT_AVAILABLE, UNPROCESSABLE_ENTITY
-
Field Details
-
NETWORK_ERROR
static final int NETWORK_ERRORNetwork error. Called when the request could not be executed due to cancellation, a connectivity problem or timeout- See Also:
-
INVALID_REQUEST_PARAMETERS
static final int INVALID_REQUEST_PARAMETERSError while creating request payload. Usually because incorrect params, check them.- See Also:
-
MALFORMED_JSON
static final int MALFORMED_JSONServer returned a JSON that can't be read.- See Also:
-
FILE_NOT_SAVED
static final int FILE_NOT_SAVEDServer returned data correctly, but something went wrong while saving it on disk. File was deleted or couldn't be read.- See Also:
-
FILE_NOT_FOUND
static final int FILE_NOT_FOUNDFile not found- See Also:
-
ILLEGAL_ARGUMENT
static final int ILLEGAL_ARGUMENTThe request could not be performed due to an illegal argument in the caller method.- See Also:
-
HTTP_BAD_REQUEST
static final int HTTP_BAD_REQUESTThe request was unacceptable, often due to missing a required parameter.- See Also:
-
HTTP_UNAUTHORIZED
static final int HTTP_UNAUTHORIZEDProvided credentials are not valid.- See Also:
-
HTTP_REQUEST_FAILED
static final int HTTP_REQUEST_FAILEDThe parameters were valid but the request failed.- See Also:
-
HTTP_NOT_FOUND
static final int HTTP_NOT_FOUNDThe request resource doesn't exist.- See Also:
-
HTTP_SERVER_ERROR
static final int HTTP_SERVER_ERRORSomething went wrong on Situm's end.- See Also:
-