SMPException class
Consists of exceptions thrown by the SMP REST client library.
Syntax
public class
SMPException
SMPException(int) constructor
Constructs a SMPException with specified error code.
SMPException(String) constructor
Constructs a SMPException with specified error message.
SMPException(int, String) constructor
Constructs a SMPException with specified error code and error message.
getErrorCode() method
Returns the error code of this SMPException.
toString() method
Returns the complete error description of this SMPException.
ANY_INPUT_FIELD_NULL variable
Any of the input fields passed is null.
APPLICATION_ID_NULL variable
Application is not initialized.
APPLICATION_USER_ALREADY_REGISTERED variable
Attempt to register an application user which is already registered.
APPLICATION_USER_NOT_REGISTERED variable
Attempt to delete the user which has not been registered.
AUTHENTICATION_ERROR variable
Error while authenticating user.
BTX_UPLOAD_ERROR variable
E2E BTX upload error.
CAPTCHA_LISTENER_NULL variable
Captcha listener is null.
CLASS_INITIALIZATION_FAILED variable
Class initialization failed.
E2E_NOT_STARTED variable
E2E Not started.
EMPTY_RESPONSE_FROM_SERVER variable
Empty response string received from server.
HTTP_ERROR variable
HTTP error.
INVALID_MODULE_ID variable
Invalid module handle ID.
JSON_PARSING_FAILED variable
Internal error, JSON parsing has failed.
NETWORK_ERROR variable
Network error: Obtained when the URL is unreachable.
PARSE_ERROR variable
Parse error.
REGISTRATION_FAILED_UNKNOWN_ERROR variable
User registration timed out.
REGISTRATION_LISTENER_NULL variable
Asynchronous user registration listener not registered with UserManager.
SINGLETON_INITIALIZATION_FAILED variable
singleton Initialization failed
SUP_INTERNAL_PARSING_ERROR variable
SUP Internal Parsing Error.
UPDATE_SETTINGS_CONTAINS_READONLY_FIELDS variable
Update Settings consists of one or more read only fields.
Parent topic:
Rest Client API Reference for Android
Created November 9, 2013.
To comment on this topic, go to:
DocCommentXchange
.