Enum Class TokenSyncErrorCode

java.lang.Object
java.lang.Enum<TokenSyncErrorCode>
com.gemalto.mfs.mwsdk.dcm.TokenSyncErrorCode
All Implemented Interfaces:
Serializable, Comparable<TokenSyncErrorCode>, Constable

public enum TokenSyncErrorCode extends Enum<TokenSyncErrorCode>
The TokenSyncErrorCode class defines a set of error codes used when a problem is encountered during token synchronisation process.
Since:
6.2.0
  • Enum Constant Details

    • TOKEN_SYNC_INTERNAL_COMPONENT_ERROR

      public static final TokenSyncErrorCode TOKEN_SYNC_INTERNAL_COMPONENT_ERROR
      An error occurred with the SDK during the internal token synchronisation process.
    • TOKEN_SYNC_SERVER_ERROR

      public static final TokenSyncErrorCode TOKEN_SYNC_SERVER_ERROR
      An error occurred with the server during the token synchronisation process.
    • TOKEN_SYNC_WRONG_FORMAT_OR_MISSING_PARAM

      public static final TokenSyncErrorCode 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

      public static final TokenSyncErrorCode TOKEN_SYNC_SERVICE_UNAVAILABLE
      An error occurred during the token synchronisation process.
    • TOKEN_SYNC_UNEXPECTED_INTERNAL_ERROR

      public static final TokenSyncErrorCode 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

      public static final TokenSyncErrorCode TOKEN_SYNC_EXTERNAL_SYSTEM_UNAVAILABLE
      A server error occurred due to the unavailability of an external system.
    • TOKEN_SYNC_UNKNOWN_WALLET_PROVIDER_ID

      public static final TokenSyncErrorCode 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

      public static final TokenSyncErrorCode TOKEN_SYNC_UNKNOWN_WALLET_ID
      An error occurred due to an unknown Wallet ID.
    • TOKEN_SYNC_MISSING_REQUIRED_PARAMETER

      public static final TokenSyncErrorCode TOKEN_SYNC_MISSING_REQUIRED_PARAMETER
      An error occurred due to a missing parameter.
    • TOKEN_SYNC_UNKNOWN_STATE

      public static final TokenSyncErrorCode TOKEN_SYNC_UNKNOWN_STATE
      An error occurred due to an unknown state.
    • TOKEN_SYNC_SERVER_PROCESS_ERROR

      public static final TokenSyncErrorCode TOKEN_SYNC_SERVER_PROCESS_ERROR
      An error occurred due to a missing required parameter.
    • TOKEN_SYNC_ERROR_JSON_DATA_EXCEPTION

      public static final TokenSyncErrorCode TOKEN_SYNC_ERROR_JSON_DATA_EXCEPTION
      An error occurred while parsing the JSON data from the server.
    • TOKEN_SYNC_OPERATION_TIMEOUT

      public static final TokenSyncErrorCode TOKEN_SYNC_OPERATION_TIMEOUT
      An error occurred due to an operation timeout.
    • TOKEN_SYNC_ERROR_GETTING_CARD_LIST

      public static final TokenSyncErrorCode TOKEN_SYNC_ERROR_GETTING_CARD_LIST
      An error occurred while retrieving the 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 used. To prevent this error from happening, it is recommended to check DigitalizedCardManager.isTokenSyncAllowed() before starting the synchronisation process.
    • TOKEN_SYNC_ERROR_SDK_NOT_INITIALIZED

      public static final TokenSyncErrorCode TOKEN_SYNC_ERROR_SDK_NOT_INITIALIZED
      An error occurred when the SDK initialization has not been completed.
      Since:
      6.4.3
  • Method Details

    • values

      public static TokenSyncErrorCode[] 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

      public static TokenSyncErrorCode valueOf(String name)
      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 name
      NullPointerException - if the argument is null