Package com.gemalto.mfs.mwsdk.dcm
Enum Class TokenSyncErrorCode
- All Implemented Interfaces:
Serializable,Comparable<TokenSyncErrorCode>,Constable
The
TokenSyncErrorCode class defines a set of error codes used
when a problem is encountered during token synchronisation process.- Since:
- 6.2.0
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionToken Sync Process is blocked when it is not within the allocated executing slot or the current allocated slot is used.An error occurred while retrieving the card list.An error occurred while parsing the JSON data from the server.An error occurred when the SDK initialization has not been completed.A server error occurred due to the unavailability of an external system.An error occurred with the SDK during the internal token synchronisation process.An error occurred due to a missing parameter.An error occurred due to an operation timeout.An error occurred with the server during the token synchronisation process.An error occurred due to a missing required parameter.An error occurred during the token synchronisation process.An internal server error occurred where the server was not able to process the request.An error occurred due to an unknown state.An error occurred due to an unknown Wallet ID.An error occurred due to an unknown Wallet Provider ID that was provided during the token synchronisation process.An error occurred with the server during token synchronisation process due to a bad request format. -
Method Summary
Modifier and TypeMethodDescriptionstatic TokenSyncErrorCodeReturns the enum constant of this class with the specified name.static TokenSyncErrorCode[]values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
TOKEN_SYNC_INTERNAL_COMPONENT_ERROR
An error occurred with the SDK during the internal token synchronisation process. -
TOKEN_SYNC_SERVER_ERROR
An error occurred with the server during the token synchronisation process. -
TOKEN_SYNC_WRONG_FORMAT_OR_MISSING_PARAM
An error occurred with the server during token synchronisation process due to a bad request format. -
TOKEN_SYNC_SERVICE_UNAVAILABLE
An error occurred during the token synchronisation process. -
TOKEN_SYNC_UNEXPECTED_INTERNAL_ERROR
An internal server error occurred where the server was not able to process the request. -
TOKEN_SYNC_EXTERNAL_SYSTEM_UNAVAILABLE
A server error occurred due to the unavailability of an external system. -
TOKEN_SYNC_UNKNOWN_WALLET_PROVIDER_ID
An error occurred due to an unknown Wallet Provider ID that was provided during the token synchronisation process. -
TOKEN_SYNC_UNKNOWN_WALLET_ID
An error occurred due to an unknown Wallet ID. -
TOKEN_SYNC_MISSING_REQUIRED_PARAMETER
An error occurred due to a missing parameter. -
TOKEN_SYNC_UNKNOWN_STATE
An error occurred due to an unknown state. -
TOKEN_SYNC_SERVER_PROCESS_ERROR
An error occurred due to a missing required parameter. -
TOKEN_SYNC_ERROR_JSON_DATA_EXCEPTION
An error occurred while parsing the JSON data from the server. -
TOKEN_SYNC_OPERATION_TIMEOUT
An error occurred due to an operation timeout. -
TOKEN_SYNC_ERROR_GETTING_CARD_LIST
An error occurred while retrieving the card list. -
TOKEN_SYNC_BLOCKED
Token Sync Process is blocked when it is not within the allocated executing slot or the current allocated slot is used. To prevent this error from happening, it is recommended to checkDigitalizedCardManager.isTokenSyncAllowed()before starting the synchronisation process. -
TOKEN_SYNC_ERROR_SDK_NOT_INITIALIZED
An error occurred when the SDK initialization has not been completed.- Since:
- 6.4.3
-
-
Method Details
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (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 class has no constant with the specified nameNullPointerException- if the argument is null
-