Enum Class ProvisioningServiceErrorCodes
java.lang.Object
java.lang.Enum<ProvisioningServiceErrorCodes>
com.gemalto.mfs.mwsdk.provisioning.model.ProvisioningServiceErrorCodes
- All Implemented Interfaces:
Serializable,Comparable<ProvisioningServiceErrorCodes>,Constable
Error codes for Provisioning Service operations to indicate an error that
happened. The Library User should first check these error codes to see where
the issue comes from before further investigating the CPS error.
- Error codes with "Common" prefix can happen in any request.
- Other error codes are prefixed with the corresponding use cases.
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionRages errorUnable to access keystore for replenish retry.User has cancelled during entering the activation code.User has entered an invalid mobile pin.Mobile PIN entry and re-entry do not match.Card is not enrolled or tokenized.Card state is desynchronized.Card state is unknownOnly Active card is allowed to change PIN.If card does not exist while change pin.The new PIN entry and re-entry entered don't match.Communication error occurred while performing request to the server.Communication error occurred while performing request to the server.Internet is not available.Error received from the server.Unable to retreive Credentials from storage.Server reject the command as device is rootedError returned when Device is suspicious.Enrollment is not allowed becuase secure wallet enrollment is not performedThe activation code has expired on the server.
This is indicated by the gateway's CREDENTIAL_MUST_BE_CHANGED error code.Enrollment hasnt been done.Maximum retry for entering the activation code has been reached.Activate code is wrongIncorrect activation code or user id.Digital Card ID inputted is null or emptyTrying to perform replenish Request without doing a single paymentInvalid server response received.Error code to indicate that context has not been set to the SDK.For security reason, the user needs to re-enroll the application.Replenishment is not allowed becuase secure wallet enrollment is not performedReplenishment error when replenishment request is triggered on SUSPENDED card state.VISA REPLENISH Permanent ErrorRetry Timeout connection error : This error code returned when the HTTPS Status Code is 504 (HTTP_GATEWAY_TIMEOUT)SDK internal error during processing, do not crash SDK but handle thisServer reject the command as mobile payment application need to be upgraded to the newer TSH Pay SDKSDK initialization is not completed.VISA Invalid Mac error -
Method Summary
Modifier and TypeMethodDescriptionReturns the enum constant of this class with the specified name.static ProvisioningServiceErrorCodes[]values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
COMMON_NO_INTERNET
Internet is not available.
This error is also returned if the client has attempted several times to connect but not able to due to very weak network signal. -
COMMON_COMM_ERROR
Communication error occurred while performing request to the server. -
COMMON_COMM_TIMEOUT_ERROR
Communication error occurred while performing request to the server. -
CREDENTIALS_ERROR
Unable to retreive Credentials from storage. -
AUTHENTICATION_REQUIRED
Unable to access keystore for replenish retry. -
COMMON_SERVER_ERROR
Error received from the server. -
ENROLLMENT_WRONG_CREDENTIALS
Incorrect activation code or user id. -
ENROLLMENT_CREDENTIAL_EXPIRED
The activation code has expired on the server.
This is indicated by the gateway's CREDENTIAL_MUST_BE_CHANGED error code. -
ENROLLMENT_TRY_LIMIT_EXCEEDED
Maximum retry for entering the activation code has been reached. The End-User is recommended to get a new set of credentials. -
CARD_ACTIVATION_ACTIVATION_CODE_ENTRY_CANCELED
User has cancelled during entering the activation code. -
CARD_ACTIVATION_MOBILE_PIN_INVALID_LENGTH
User has entered an invalid mobile pin. According to ISO 9564 format 1, PIN should be from 4-12 digits. -
CARD_ACTIVATION_MOBILE_PIN_MISMATCH
Mobile PIN entry and re-entry do not match. -
CHANGE_PIN_REENTRY_MISMATCH
The new PIN entry and re-entry entered don't match. -
CHANGE_PIN_CARD_NOT_ACTIVE
Only Active card is allowed to change PIN. -
CHANGE_PIN_CARD_NOT_EXIST
If card does not exist while change pin. -
RE_ENROLLMENT_REQUIRED
For security reason, the user needs to re-enroll the application. -
CARD_NOT_ENROLLED
Card is not enrolled or tokenized. -
CARD_STATE_UNKNOWN
Card state is unknown -
REPLENISHMENT_NOT_ALLOWED
Replenishment error when replenishment request is triggered on SUSPENDED card state. -
SDK_INTERNAL_COMPONENT_ERROR
SDK internal error during processing, do not crash SDK but handle this -
ENROLLMENT_WRONG_ACTIVATION_CODE
Activate code is wrong -
ENROLLMENT_BLOCKED_SECURE_WALLET_ENROLLMENT_REQUIRED
public static final ProvisioningServiceErrorCodes ENROLLMENT_BLOCKED_SECURE_WALLET_ENROLLMENT_REQUIREDEnrollment is not allowed becuase secure wallet enrollment is not performed -
REPLENISHMENT_BLOCKED_SECURE_WALLET_ENROLLMENT_REQUIRED
public static final ProvisioningServiceErrorCodes REPLENISHMENT_BLOCKED_SECURE_WALLET_ENROLLMENT_REQUIREDReplenishment is not allowed becuase secure wallet enrollment is not performed -
INVALID_REPLENISH_MISSING_PAYMENT
Trying to perform replenish Request without doing a single payment -
ASM_ERROR
Rages error -
INVALID_DIGITALCARDID
Digital Card ID inputted is null or empty -
DEVICE_STATE_NOT_OK
Server reject the command as device is rooted- Since:
- TSH Pay SDK 6.1.0
-
SDK_NEED_TO_BE_UPGRADED
Server reject the command as mobile payment application need to be upgraded to the newer TSH Pay SDK- Since:
- TSH Pay SDK 6.1.0
-
CARD_STATE_DESYNCHRO
Card state is desynchronized. Here enrollment request is not matching with state in server. Example: SDK request enrollment where card is already enrolled. Here application can first request to delete the card before proceeding with further enrollment.- Since:
- TSH Pay SDK 6.1.0
-
ENROLLMENT_REQUIRED
Enrollment hasnt been done.- Since:
- TSH Pay SDK 6.1.0
-
RETRY_EXCEEDED
Retry Timeout connection error : This error code returned when the HTTPS Status Code is 504 (HTTP_GATEWAY_TIMEOUT)- Since:
- TSH Pay SDK 6.4.0
-
TRANSACTION_RECORDS_SIGNATURE_VERIFICATION_FAILED
VISA Invalid Mac error- Since:
- TSH Pay SDK 6.3.1
-
REPLENISHMENT_PERMANENT_ERROR
VISA REPLENISH Permanent Error- Since:
- TSH Pay SDK 6.3.1
-
SDK_NOT_INITIALIZED
SDK initialization is not completed.- Since:
- 6.4.3
-
NULL_CONTEXT
Error code to indicate that context has not been set to the SDK. Please check if Application has setContext to SDK or if SDK initialization has not been called.- Since:
- 6.4.3
-
DEVICE_SUSPICIOUS
Error returned when Device is suspicious. This operation cannot continue .- Since:
- TSH Pay SDK 6.5.0
-
INVALID_SERVER_RESPONSE
Invalid server response received.- Since:
- TSH Pay SDK 6.6.0
-
-
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
-