Package com.gemalto.mfs.mwsdk.dcm
Enum TokenSyncErrorCode
- java.lang.Object
-
- java.lang.Enum<TokenSyncErrorCode>
-
- com.gemalto.mfs.mwsdk.dcm.TokenSyncErrorCode
-
- All Implemented Interfaces:
java.io.Serializable
,java.lang.Comparable<TokenSyncErrorCode>
public enum TokenSyncErrorCode extends java.lang.Enum<TokenSyncErrorCode>
This class represents Token Sync Error Codes.- Since:
- 6.2.0
-
-
Enum Constant Summary
Enum Constants Enum Constant Description TOKEN_SYNC_BLOCKED
Token Sync Process is Blocked when it is not within the allocated executing slot or the current allocated slot is consumed.TOKEN_SYNC_ERROR_GETTING_CARD_LIST
Error getting card list.TOKEN_SYNC_ERROR_JSON_DATA_EXCEPTION
Server response JSON data parsing error.TOKEN_SYNC_ERROR_SDK_NOT_INITIALIZED
Error due to SDK initialization not completed.TOKEN_SYNC_EXTERNAL_SYSTEM_UNAVAILABLE
Token Sync server error due to External system unavailable.TOKEN_SYNC_INTERNAL_COMPONENT_ERROR
Internal Token Sync SDK internal error.TOKEN_SYNC_MISSING_REQUIRED_PARAMETER
Token Sync Missing required parameter.TOKEN_SYNC_OPERATION_TIMEOUT
Error response due to operation timeout.TOKEN_SYNC_SERVER_ERROR
Token Sync Server Error.TOKEN_SYNC_SERVER_PROCESS_ERROR
Token Sync Missing required parameter.TOKEN_SYNC_SERVICE_UNAVAILABLE
Token Sync Service Unavailable.TOKEN_SYNC_UNEXPECTED_INTERNAL_ERROR
Token Sync Unexpected internal server error, where server is not able to process the request.TOKEN_SYNC_UNKNOWN_STATE
Token Sync Missing required parameter.TOKEN_SYNC_UNKNOWN_WALLET_ID
Token Sync Unknown Wallet Id.TOKEN_SYNC_UNKNOWN_WALLET_PROVIDER_ID
Token Sync Unknown Wallet Provider Id.TOKEN_SYNC_WRONG_FORMAT_OR_MISSING_PARAM
Token Sync Server Error due to bad request format.
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static TokenSyncErrorCode
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.static TokenSyncErrorCode[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
TOKEN_SYNC_INTERNAL_COMPONENT_ERROR
public static final TokenSyncErrorCode TOKEN_SYNC_INTERNAL_COMPONENT_ERROR
Internal Token Sync SDK internal error.
-
TOKEN_SYNC_SERVER_ERROR
public static final TokenSyncErrorCode TOKEN_SYNC_SERVER_ERROR
Token Sync Server Error.
-
TOKEN_SYNC_WRONG_FORMAT_OR_MISSING_PARAM
public static final TokenSyncErrorCode TOKEN_SYNC_WRONG_FORMAT_OR_MISSING_PARAM
Token Sync Server Error due to bad request format.
-
TOKEN_SYNC_SERVICE_UNAVAILABLE
public static final TokenSyncErrorCode TOKEN_SYNC_SERVICE_UNAVAILABLE
Token Sync Service Unavailable.
-
TOKEN_SYNC_UNEXPECTED_INTERNAL_ERROR
public static final TokenSyncErrorCode TOKEN_SYNC_UNEXPECTED_INTERNAL_ERROR
Token Sync Unexpected internal server error, where server is not able to process the request.
-
TOKEN_SYNC_EXTERNAL_SYSTEM_UNAVAILABLE
public static final TokenSyncErrorCode TOKEN_SYNC_EXTERNAL_SYSTEM_UNAVAILABLE
Token Sync server error due to External system unavailable.
-
TOKEN_SYNC_UNKNOWN_WALLET_PROVIDER_ID
public static final TokenSyncErrorCode TOKEN_SYNC_UNKNOWN_WALLET_PROVIDER_ID
Token Sync Unknown Wallet Provider Id.
-
TOKEN_SYNC_UNKNOWN_WALLET_ID
public static final TokenSyncErrorCode TOKEN_SYNC_UNKNOWN_WALLET_ID
Token Sync Unknown Wallet Id.
-
TOKEN_SYNC_MISSING_REQUIRED_PARAMETER
public static final TokenSyncErrorCode TOKEN_SYNC_MISSING_REQUIRED_PARAMETER
Token Sync Missing required parameter.
-
TOKEN_SYNC_UNKNOWN_STATE
public static final TokenSyncErrorCode TOKEN_SYNC_UNKNOWN_STATE
Token Sync Missing required parameter.
-
TOKEN_SYNC_SERVER_PROCESS_ERROR
public static final TokenSyncErrorCode TOKEN_SYNC_SERVER_PROCESS_ERROR
Token Sync Missing required parameter.
-
TOKEN_SYNC_ERROR_JSON_DATA_EXCEPTION
public static final TokenSyncErrorCode TOKEN_SYNC_ERROR_JSON_DATA_EXCEPTION
Server response JSON data parsing error.
-
TOKEN_SYNC_OPERATION_TIMEOUT
public static final TokenSyncErrorCode TOKEN_SYNC_OPERATION_TIMEOUT
Error response due to operation timeout.
-
TOKEN_SYNC_ERROR_GETTING_CARD_LIST
public static final TokenSyncErrorCode TOKEN_SYNC_ERROR_GETTING_CARD_LIST
Error getting card list.
-
TOKEN_SYNC_BLOCKED
public static final TokenSyncErrorCode TOKEN_SYNC_BLOCKED
Token Sync Process is Blocked when it is not within the allocated executing slot or the current allocated slot is consumed. To avoid this error, it is recommended to checkDigitalizedCardManager.isTokenSyncAllowed()
before starting the sync process.
-
TOKEN_SYNC_ERROR_SDK_NOT_INITIALIZED
public static final TokenSyncErrorCode TOKEN_SYNC_ERROR_SDK_NOT_INITIALIZED
Error due to SDK initialization not completed.- Since:
- 6.4.3
-
-
Method Detail
-
values
public static TokenSyncErrorCode[] 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 (TokenSyncErrorCode c : TokenSyncErrorCode.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static TokenSyncErrorCode valueOf(java.lang.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:
java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is null
-
-