com.microsoft.aad.adal
Enum ADALError

java.lang.Object
  extended by java.lang.Enum<ADALError>
      extended by com.microsoft.aad.adal.ADALError
All Implemented Interfaces:
Serializable, Comparable<ADALError>

public enum ADALError
extends Enum<ADALError>

ADAL Error codes.


Enum Constant Summary
ACTIVITY_REQUEST_INTENT_DATA_IS_NULL
          Request object is needed to start AuthenticationActivity.
ANDROIDKEYSTORE_FAILED
          Failed to use AndroidKeyStore.
ANDROIDKEYSTORE_KEYPAIR_GENERATOR_FAILED
          Failed to use AndroidKeyStore.
APP_PACKAGE_NAME_NOT_FOUND
          App package name is not found in the package manager.
ARGUMENT_EXCEPTION
          Invalid argument.
AUTH_FAILED
          Authorization failed.
AUTH_FAILED_BAD_STATE
          The authorization server response has no encoded state.
AUTH_FAILED_CANCELLED
          The user cancelled the authorization request.
AUTH_FAILED_INTERNAL_ERROR
          Invalid parameters for authorization operation.
AUTH_FAILED_NO_RESOURCES
          The required resource bundle could not be loaded.
AUTH_FAILED_NO_STATE
          The authorization server response has incorrectly encoded state.
AUTH_FAILED_NO_TOKEN
          The requested access token could not be found.
AUTH_FAILED_SERVER_ERROR
          The Authorization Server returned an unrecognized response.
AUTH_FAILED_USER_MISMATCH
          User returned by service does not match the one in the request.
AUTH_REFRESH_FAILED
          Refresh token request failed.
AUTH_REFRESH_FAILED_PROMPT_NOT_ALLOWED
          Refresh token is failed and prompt is not allowed.
AUTHORIZATION_CODE_NOT_EXCHANGED_FOR_TOKEN
          Authorization code not exchanged for token.
BROADCAST_CANCEL_NOT_SUCCESSFUL
          Cancel message is not successfully delivered to broadcast receiver.
BROADCAST_RECEIVER_ERROR
          Broadcast receiver has an error.
BROKER_ACCOUNT_DOES_NOT_EXIST
          Broker account does not exist.
BROKER_ACCOUNT_SAVE_FAILED
          Broker could not save the new account.
BROKER_ACTIVITY_INFO_NOT_FOUND
          Activity information is not retrieved.
BROKER_ACTIVITY_INVALID_REQUEST
          Invalid request parameters.
BROKER_ACTIVITY_IS_NOT_RESOLVED
          Broker activity is not resolved.
BROKER_APP_VERIFICATION_FAILED
          Calling app could not be verified.
BROKER_AUTHENTICATION_REQUEST_IS_NULL
          Authentication request is null.
BROKER_AUTHENTICATOR_BAD_ARGUMENTS
          Invalid arguments for Authenticator request.
BROKER_AUTHENTICATOR_BAD_AUTHENTICATION
          Authentication request failed.
BROKER_AUTHENTICATOR_ERROR_GETAUTHTOKEN
          Authenticator error.
BROKER_AUTHENTICATOR_EXCEPTION
          Authenticator returned exception.
BROKER_AUTHENTICATOR_IO_EXCEPTION
          Authenticator has IO Exception.
BROKER_AUTHENTICATOR_NOT_RESPONDING
          Authenticator is not responding.
BROKER_AUTHENTICATOR_UNSUPPORTED_OPERATION
          Authenticator is not supporting this operation.
BROKER_PACKAGE_NAME_NOT_FOUND
          Broker is not installed in your system.
BROKER_SIGNATURE_NOT_SAVED
          Signature is not saved.
BROKER_SINGLE_USER_EXPECTED
          Single user is expected.
BROKER_VERIFICATION_FAILED
          Signature could not be verified.
CALLBACK_IS_NOT_FOUND
          Active callback is not found.
CERTIFICATE_ENCODING_ERROR
          Certificate encoding is not generated.
CORRELATION_ID_FORMAT
          Correlationid is not in UUID format.
CORRELATION_ID_NOT_MATCHING_REQUEST_RESPONSE
          Correlationid provided in requrest is not matching the response.
DATE_PARSING_FAILURE
          Dateformat is invalid.
DEVELOPER_ACTIVITY_IS_NOT_RESOLVED
          Activity is not resolved.
DEVELOPER_ASYNC_TASK_REUSED
          Async tasks can only be executed one time.
DEVELOPER_AUTHORITY_CAN_NOT_BE_VALIDED
          Authority validation returned an error.
DEVELOPER_AUTHORITY_IS_EMPTY
          Authority is empty.
DEVELOPER_AUTHORITY_IS_NOT_VALID_INSTANCE
          Authority is not a valid instance.
DEVELOPER_AUTHORITY_IS_NOT_VALID_URL
          Authority url is not valid.
DEVELOPER_BEARER_HEADER_MULTIPLE_ITEMS
          Key/value pair list contains redundant items in the header.
DEVELOPER_BROKER_PERMISSIONS_MISSING
          GET_ACCOUNTS, MANAGE_ACCOUNTS, USE_CREDENTIALS are not added to AndroidManifest file.
DEVELOPER_CALLING_ON_MAIN_THREAD
          Calling from main thread for background operation.
DEVELOPER_CONTEXT_IS_NOT_PROVIDED
          Context is not provided.
DEVELOPER_DIALOG_LAYOUT_INVALID
          Layout file does not have correct elements such as different webview id
DEVELOPER_INTERNET_PERMISSION_MISSING
          android.permission.INTERNET is not added to AndroidManifest file.
DEVELOPER_REDIRECTURI_INVALID
          The redirectUri for broker is invalid.
DEVELOPER_RESOURCE_IS_EMPTY
          Resource is empty.
DEVICE_ALGORITHM_PADDING_EXCEPTION
          Requested padding is not available.
DEVICE_CACHE_IS_NOT_WORKING
          Cache is not saving the changes.
DEVICE_CERTIFICATE_API_EXCEPTION
          Device certificate API has exception.
DEVICE_CERTIFICATE_REQUEST_INVALID
          Device certificate request is valid.
DEVICE_CERTIFICATE_RESPONSE_FAILED
          It is failed to create device certificate response.
DEVICE_CONNECTION_IS_NOT_AVAILABLE
          Connection is not available.
DEVICE_FILE_CACHE_FORMAT_IS_WRONG
          Wrong cache file format.
DEVICE_FILE_CACHE_IS_NOT_LOADED_FROM_FILE
          Cache is not loaded from File.
DEVICE_FILE_CACHE_IS_NOT_WRITING_TO_FILE
          FileCache could not write to the File.
DEVICE_INTERNET_IS_NOT_AVAILABLE
          Internet permissions are not set for the app.
DEVICE_NO_SUCH_ALGORITHM
          Device does not support the algorithm.
DEVICE_PRNG_FIX_ERROR
          PRNG fixes are not applied.
DEVICE_SHARED_PREF_IS_NOT_AVAILABLE
          Shared preferences are not available.
DIGEST_ERROR
          Error in generating hash with MessageDigest.
DISCOVERY_NOT_SUPPORTED
          Authority validation is not supported for ADFS authority.
ENCODING_IS_NOT_SUPPORTED
          Encoding format is not supported.
ENCRYPTION_ERROR
          Encryption related error.
ENCRYPTION_FAILED
          Encryption failed.
ERROR_FAILED_SSL_HANDSHAKE
          WebView has ssl related error and returned error code for that.
ERROR_SILENT_REQUEST
          Error in silent token request.
ERROR_WEBVIEW
          WebView has some generic error.
IDTOKEN_PARSING_FAILURE
          IdToken is normally returned from token endpoint.
IO_EXCEPTION
          I/O exception.
KEY_CHAIN_PRIVATE_KEY_EXCEPTION
          Key Chain private key exception.
ON_ACTIVITY_RESULT_CALLBACK_NOT_FOUND
          onActivityResult is called, but callback is not found.
ON_ACTIVITY_RESULT_INTENT_NULL
          onActivityResult is called with null intent data.
PACKAGE_NAME_NOT_FOUND
          Package name is not resolved.
RESOURCE_NOT_FOUND
          Resource is not found in your project.
SERVER_ERROR
          Server returned an error.
SERVER_INVALID_JSON_RESPONSE
          erver returned invalid JSON response.
SERVER_INVALID_REQUEST
          Invalid request to server.
SIGNATURE_EXCEPTION
          Signature exception.
WEBVIEW_RETURNED_AUTHENTICATION_EXCEPTION
          WebView returned Authentication Exception.
WEBVIEW_RETURNED_EMPTY_REDIRECT_URL
          WebView returned empty redirect url.
WEBVIEW_RETURNED_INVALID_AUTHENTICATION_EXCEPTION
          WebView returned invalid or null Authentication Exception.
 
Method Summary
 String getDescription()
          Gets error description.
 String getLocalizedDescription(android.content.Context context)
          Gets localized description if provided with context.
static ADALError valueOf(String name)
          Returns the enum constant of this type with the specified name.
static ADALError[] values()
          Returns an array containing the constants of this enum type, in the order they are declared.
 
Methods inherited from class java.lang.Enum
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Enum Constant Detail

DEVELOPER_AUTHORITY_CAN_NOT_BE_VALIDED

public static final ADALError DEVELOPER_AUTHORITY_CAN_NOT_BE_VALIDED
Authority validation returned an error.


DEVELOPER_AUTHORITY_IS_NOT_VALID_INSTANCE

public static final ADALError DEVELOPER_AUTHORITY_IS_NOT_VALID_INSTANCE
Authority is not a valid instance.


DEVELOPER_AUTHORITY_IS_NOT_VALID_URL

public static final ADALError DEVELOPER_AUTHORITY_IS_NOT_VALID_URL
Authority url is not valid.


DEVELOPER_AUTHORITY_IS_EMPTY

public static final ADALError DEVELOPER_AUTHORITY_IS_EMPTY
Authority is empty.


DEVELOPER_ASYNC_TASK_REUSED

public static final ADALError DEVELOPER_ASYNC_TASK_REUSED
Async tasks can only be executed one time. They are not supposed to be reused.


DEVELOPER_RESOURCE_IS_EMPTY

public static final ADALError DEVELOPER_RESOURCE_IS_EMPTY
Resource is empty.


DEVELOPER_CONTEXT_IS_NOT_PROVIDED

public static final ADALError DEVELOPER_CONTEXT_IS_NOT_PROVIDED
Context is not provided.


DEVELOPER_BEARER_HEADER_MULTIPLE_ITEMS

public static final ADALError DEVELOPER_BEARER_HEADER_MULTIPLE_ITEMS
Key/value pair list contains redundant items in the header.


CALLBACK_IS_NOT_FOUND

public static final ADALError CALLBACK_IS_NOT_FOUND
Active callback is not found.


DEVELOPER_ACTIVITY_IS_NOT_RESOLVED

public static final ADALError DEVELOPER_ACTIVITY_IS_NOT_RESOLVED
Activity is not resolved.


DEVELOPER_INTERNET_PERMISSION_MISSING

public static final ADALError DEVELOPER_INTERNET_PERMISSION_MISSING
android.permission.INTERNET is not added to AndroidManifest file.


DEVELOPER_BROKER_PERMISSIONS_MISSING

public static final ADALError DEVELOPER_BROKER_PERMISSIONS_MISSING
GET_ACCOUNTS, MANAGE_ACCOUNTS, USE_CREDENTIALS are not added to AndroidManifest file.


DEVELOPER_CALLING_ON_MAIN_THREAD

public static final ADALError DEVELOPER_CALLING_ON_MAIN_THREAD
Calling from main thread for background operation.


DEVELOPER_DIALOG_LAYOUT_INVALID

public static final ADALError DEVELOPER_DIALOG_LAYOUT_INVALID
Layout file does not have correct elements such as different webview id


SERVER_INVALID_REQUEST

public static final ADALError SERVER_INVALID_REQUEST
Invalid request to server.


SERVER_ERROR

public static final ADALError SERVER_ERROR
Server returned an error.


IO_EXCEPTION

public static final ADALError IO_EXCEPTION
I/O exception.


ARGUMENT_EXCEPTION

public static final ADALError ARGUMENT_EXCEPTION
Invalid argument.


ERROR_FAILED_SSL_HANDSHAKE

public static final ADALError ERROR_FAILED_SSL_HANDSHAKE
WebView has ssl related error and returned error code for that.


ERROR_WEBVIEW

public static final ADALError ERROR_WEBVIEW
WebView has some generic error.


ACTIVITY_REQUEST_INTENT_DATA_IS_NULL

public static final ADALError ACTIVITY_REQUEST_INTENT_DATA_IS_NULL
Request object is needed to start AuthenticationActivity.


BROADCAST_RECEIVER_ERROR

public static final ADALError BROADCAST_RECEIVER_ERROR
Broadcast receiver has an error.


AUTH_FAILED

public static final ADALError AUTH_FAILED
Authorization failed.


AUTH_REFRESH_FAILED_PROMPT_NOT_ALLOWED

public static final ADALError AUTH_REFRESH_FAILED_PROMPT_NOT_ALLOWED
Refresh token is failed and prompt is not allowed.


AUTH_FAILED_SERVER_ERROR

public static final ADALError AUTH_FAILED_SERVER_ERROR
The Authorization Server returned an unrecognized response.


AUTH_FAILED_NO_RESOURCES

public static final ADALError AUTH_FAILED_NO_RESOURCES
The required resource bundle could not be loaded.


AUTH_FAILED_NO_STATE

public static final ADALError AUTH_FAILED_NO_STATE
The authorization server response has incorrectly encoded state.


AUTH_FAILED_BAD_STATE

public static final ADALError AUTH_FAILED_BAD_STATE
The authorization server response has no encoded state.


AUTH_FAILED_NO_TOKEN

public static final ADALError AUTH_FAILED_NO_TOKEN
The requested access token could not be found.


AUTH_FAILED_CANCELLED

public static final ADALError AUTH_FAILED_CANCELLED
The user cancelled the authorization request.


AUTH_FAILED_INTERNAL_ERROR

public static final ADALError AUTH_FAILED_INTERNAL_ERROR
Invalid parameters for authorization operation.


AUTH_FAILED_USER_MISMATCH

public static final ADALError AUTH_FAILED_USER_MISMATCH
User returned by service does not match the one in the request.


DEVICE_INTERNET_IS_NOT_AVAILABLE

public static final ADALError DEVICE_INTERNET_IS_NOT_AVAILABLE
Internet permissions are not set for the app.


ON_ACTIVITY_RESULT_INTENT_NULL

public static final ADALError ON_ACTIVITY_RESULT_INTENT_NULL
onActivityResult is called with null intent data. Activity may be terminated directly.


ON_ACTIVITY_RESULT_CALLBACK_NOT_FOUND

public static final ADALError ON_ACTIVITY_RESULT_CALLBACK_NOT_FOUND
onActivityResult is called, but callback is not found.


DEVICE_SHARED_PREF_IS_NOT_AVAILABLE

public static final ADALError DEVICE_SHARED_PREF_IS_NOT_AVAILABLE
Shared preferences are not available.


DEVICE_CACHE_IS_NOT_WORKING

public static final ADALError DEVICE_CACHE_IS_NOT_WORKING
Cache is not saving the changes. This error will be returned to developer, if cache returns error.


DEVICE_FILE_CACHE_IS_NOT_LOADED_FROM_FILE

public static final ADALError DEVICE_FILE_CACHE_IS_NOT_LOADED_FROM_FILE
Cache is not loaded from File.


DEVICE_FILE_CACHE_IS_NOT_WRITING_TO_FILE

public static final ADALError DEVICE_FILE_CACHE_IS_NOT_WRITING_TO_FILE
FileCache could not write to the File.


DEVICE_FILE_CACHE_FORMAT_IS_WRONG

public static final ADALError DEVICE_FILE_CACHE_FORMAT_IS_WRONG
Wrong cache file format.


DEVICE_CONNECTION_IS_NOT_AVAILABLE

public static final ADALError DEVICE_CONNECTION_IS_NOT_AVAILABLE
Connection is not available.


DEVICE_PRNG_FIX_ERROR

public static final ADALError DEVICE_PRNG_FIX_ERROR
PRNG fixes are not applied.


IDTOKEN_PARSING_FAILURE

public static final ADALError IDTOKEN_PARSING_FAILURE
IdToken is normally returned from token endpoint.


DATE_PARSING_FAILURE

public static final ADALError DATE_PARSING_FAILURE
Dateformat is invalid.


AUTHORIZATION_CODE_NOT_EXCHANGED_FOR_TOKEN

public static final ADALError AUTHORIZATION_CODE_NOT_EXCHANGED_FOR_TOKEN
Authorization code not exchanged for token.


BROADCAST_CANCEL_NOT_SUCCESSFUL

public static final ADALError BROADCAST_CANCEL_NOT_SUCCESSFUL
Cancel message is not successfully delivered to broadcast receiver. It may be not registered yet. AuthenticationActivity will register that at onResume.


CORRELATION_ID_FORMAT

public static final ADALError CORRELATION_ID_FORMAT
Correlationid is not in UUID format.


CORRELATION_ID_NOT_MATCHING_REQUEST_RESPONSE

public static final ADALError CORRELATION_ID_NOT_MATCHING_REQUEST_RESPONSE
Correlationid provided in requrest is not matching the response.


ENCODING_IS_NOT_SUPPORTED

public static final ADALError ENCODING_IS_NOT_SUPPORTED
Encoding format is not supported.


SERVER_INVALID_JSON_RESPONSE

public static final ADALError SERVER_INVALID_JSON_RESPONSE
erver returned invalid JSON response.


AUTH_REFRESH_FAILED

public static final ADALError AUTH_REFRESH_FAILED
Refresh token request failed.


ENCRYPTION_FAILED

public static final ADALError ENCRYPTION_FAILED
Encryption failed.


ANDROIDKEYSTORE_FAILED

public static final ADALError ANDROIDKEYSTORE_FAILED
Failed to use AndroidKeyStore.


ANDROIDKEYSTORE_KEYPAIR_GENERATOR_FAILED

public static final ADALError ANDROIDKEYSTORE_KEYPAIR_GENERATOR_FAILED
Failed to use AndroidKeyStore.


DISCOVERY_NOT_SUPPORTED

public static final ADALError DISCOVERY_NOT_SUPPORTED
Authority validation is not supported for ADFS authority. Authority validation needs to be disabled for ADFS.


BROKER_PACKAGE_NAME_NOT_FOUND

public static final ADALError BROKER_PACKAGE_NAME_NOT_FOUND
Broker is not installed in your system.


BROKER_AUTHENTICATOR_NOT_RESPONDING

public static final ADALError BROKER_AUTHENTICATOR_NOT_RESPONDING
Authenticator is not responding.


BROKER_AUTHENTICATOR_ERROR_GETAUTHTOKEN

public static final ADALError BROKER_AUTHENTICATOR_ERROR_GETAUTHTOKEN
Authenticator error.


BROKER_AUTHENTICATOR_BAD_ARGUMENTS

public static final ADALError BROKER_AUTHENTICATOR_BAD_ARGUMENTS
Invalid arguments for Authenticator request.


BROKER_AUTHENTICATOR_BAD_AUTHENTICATION

public static final ADALError BROKER_AUTHENTICATOR_BAD_AUTHENTICATION
Authentication request failed.


BROKER_AUTHENTICATOR_UNSUPPORTED_OPERATION

public static final ADALError BROKER_AUTHENTICATOR_UNSUPPORTED_OPERATION
Authenticator is not supporting this operation.


BROKER_AUTHENTICATOR_IO_EXCEPTION

public static final ADALError BROKER_AUTHENTICATOR_IO_EXCEPTION
Authenticator has IO Exception.


BROKER_AUTHENTICATOR_EXCEPTION

public static final ADALError BROKER_AUTHENTICATOR_EXCEPTION
Authenticator returned exception.


BROKER_VERIFICATION_FAILED

public static final ADALError BROKER_VERIFICATION_FAILED
Signature could not be verified.


PACKAGE_NAME_NOT_FOUND

public static final ADALError PACKAGE_NAME_NOT_FOUND
Package name is not resolved.


DIGEST_ERROR

public static final ADALError DIGEST_ERROR
Error in generating hash with MessageDigest.


BROKER_AUTHENTICATION_REQUEST_IS_NULL

public static final ADALError BROKER_AUTHENTICATION_REQUEST_IS_NULL
Authentication request is null.


BROKER_APP_VERIFICATION_FAILED

public static final ADALError BROKER_APP_VERIFICATION_FAILED
Calling app could not be verified.


BROKER_ACTIVITY_INFO_NOT_FOUND

public static final ADALError BROKER_ACTIVITY_INFO_NOT_FOUND
Activity information is not retrieved.


BROKER_SIGNATURE_NOT_SAVED

public static final ADALError BROKER_SIGNATURE_NOT_SAVED
Signature is not saved.


DEVICE_NO_SUCH_ALGORITHM

public static final ADALError DEVICE_NO_SUCH_ALGORITHM
Device does not support the algorithm.


DEVICE_ALGORITHM_PADDING_EXCEPTION

public static final ADALError DEVICE_ALGORITHM_PADDING_EXCEPTION
Requested padding is not available.


APP_PACKAGE_NAME_NOT_FOUND

public static final ADALError APP_PACKAGE_NAME_NOT_FOUND
App package name is not found in the package manager.


ENCRYPTION_ERROR

public static final ADALError ENCRYPTION_ERROR
Encryption related error.


BROKER_ACTIVITY_IS_NOT_RESOLVED

public static final ADALError BROKER_ACTIVITY_IS_NOT_RESOLVED
Broker activity is not resolved.


BROKER_ACTIVITY_INVALID_REQUEST

public static final ADALError BROKER_ACTIVITY_INVALID_REQUEST
Invalid request parameters.


BROKER_ACCOUNT_SAVE_FAILED

public static final ADALError BROKER_ACCOUNT_SAVE_FAILED
Broker could not save the new account.


BROKER_ACCOUNT_DOES_NOT_EXIST

public static final ADALError BROKER_ACCOUNT_DOES_NOT_EXIST
Broker account does not exist.


BROKER_SINGLE_USER_EXPECTED

public static final ADALError BROKER_SINGLE_USER_EXPECTED
Single user is expected.


KEY_CHAIN_PRIVATE_KEY_EXCEPTION

public static final ADALError KEY_CHAIN_PRIVATE_KEY_EXCEPTION
Key Chain private key exception.


SIGNATURE_EXCEPTION

public static final ADALError SIGNATURE_EXCEPTION
Signature exception.


DEVICE_CERTIFICATE_RESPONSE_FAILED

public static final ADALError DEVICE_CERTIFICATE_RESPONSE_FAILED
It is failed to create device certificate response.


WEBVIEW_RETURNED_AUTHENTICATION_EXCEPTION

public static final ADALError WEBVIEW_RETURNED_AUTHENTICATION_EXCEPTION
WebView returned Authentication Exception.


WEBVIEW_RETURNED_INVALID_AUTHENTICATION_EXCEPTION

public static final ADALError WEBVIEW_RETURNED_INVALID_AUTHENTICATION_EXCEPTION
WebView returned invalid or null Authentication Exception.


WEBVIEW_RETURNED_EMPTY_REDIRECT_URL

public static final ADALError WEBVIEW_RETURNED_EMPTY_REDIRECT_URL
WebView returned empty redirect url.


DEVICE_CERTIFICATE_API_EXCEPTION

public static final ADALError DEVICE_CERTIFICATE_API_EXCEPTION
Device certificate API has exception.


DEVICE_CERTIFICATE_REQUEST_INVALID

public static final ADALError DEVICE_CERTIFICATE_REQUEST_INVALID
Device certificate request is valid.


RESOURCE_NOT_FOUND

public static final ADALError RESOURCE_NOT_FOUND
Resource is not found in your project. Please include resource files.


CERTIFICATE_ENCODING_ERROR

public static final ADALError CERTIFICATE_ENCODING_ERROR
Certificate encoding is not generated.


ERROR_SILENT_REQUEST

public static final ADALError ERROR_SILENT_REQUEST
Error in silent token request.


DEVELOPER_REDIRECTURI_INVALID

public static final ADALError DEVELOPER_REDIRECTURI_INVALID
The redirectUri for broker is invalid.

Method Detail

values

public static ADALError[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:
for (ADALError c : ADALError.values())
    System.out.println(c);

Returns:
an array containing the constants of this enum type, in the order they are declared

valueOf

public static ADALError valueOf(String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)

Parameters:
name - the name of the enum constant to be returned.
Returns:
the enum constant with the specified name
Throws:
IllegalArgumentException - if this enum type has no constant with the specified name
NullPointerException - if the argument is null

getDescription

public String getDescription()
Gets error description.

Returns:
Error description

getLocalizedDescription

public String getLocalizedDescription(android.content.Context context)
Gets localized description if provided with context.

Parameters:
context - Context
Returns:
Error description


Copyright © 2003–2015. All rights reserved.