Enum Class MGErrorCode
- All Implemented Interfaces:
Serializable,Comparable<MGErrorCode>,Constable
MGErrorCode provides the different types of errors that are returned by the Mobile Gateway library.
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionThis error is returned when the device is found to be suspicious, and this operation cannot continue.This error is returned during the parsing of a JSON server response. -
Method Summary
Modifier and TypeMethodDescriptionstatic MGErrorCodeReturns the enum constant of this class with the specified name.static MGErrorCode[]values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
NO_INTERNET
-
CONNECTION_TIMEOUT
-
COMMUNICATION_ERROR
-
SERVER_ERROR
-
INTERNAL_ERROR
-
FPAN_NOT_ELIGIBLE
-
UNKNOWN_BIN
-
UNKNOWN_CARD_PRODUCT
-
CARD_PRODUCT_NOT_SUPPORTED
-
INCORRECT_CVV
-
CARD_ALREADY_PROVISIONED_IN_WALLET
-
DEVICE_NOT_ELIGIBLE
-
RESOURCE_NOT_FOUND
-
INCORRECT_AUTHENTICATION_TOKEN
-
CARD_PROVISIONING_COUNT_EXCEEDED
-
UNKONOWN_IDV_METHOD
-
PROVISIONING_NOT_ALLOWED
-
INCORRECT_OTP
-
INCORRECT_OTP_MAX_TRY_EXCEEDED
-
OTP_EXPIRED
-
IDV_METHOD_NOT_AVAILABLE
-
UNEXPECTED_INTERNAL_ERROR
-
EXTERNAL_SYSTEM_UNAVAILABLE
-
UNKNOWN_WALLET_PROVIDER_ID
-
UNKNOWN_WALLET_ID
-
UNKNOWN_DIGITAL_CARD_ID
-
UNKNOWN_CORRELATION_ID
-
CARD_STATE_DOES_NOT_ALLOW_REQUESTED_OPERATION
-
OPERATION_ALREADY_ONGOING
-
OPERATION_FAILED
-
UNKNOWN_DEVICE_ID
-
MISSING_REQUIRED_PARAMETER
-
UNKNOWN_ISSUER_ID
-
UNKNOWN_CARD_ID
-
NO_TNC_RESOURCE_ID
-
INVALID_TNC_DATA_TYPE
-
SECURESTORAGE_WRITE_CONFIG_DATA_ERROR
-
SECURESTORAGE_WIPE_ALL_ERROR
-
CONTEXT_MISSING_ERROR
-
WEB_3DS_AUTHENTICATION_FAILED
-
WEB_3DS_DATA_ERROR
-
APP_TO_APP_DATA_ERROR
-
INVALID_CARD_DATA
-
NO_CARD_META_DATA
-
CARD_META_DATA_JSON_ERROR
-
NO_CARD_DATA
-
INVALID_ASSET_TYPE
-
INVALID_ASSET_VERSION
-
ASSET_NOT_AVAILABLE
-
BLOCKED_SECURE_WALLET_ENROLLMENT_REQUIRED
-
DEVICE_SUSPICIOUS
This error is returned when the device is found to be suspicious, and this operation cannot continue.- Since:
- TSH Pay SDK 6.5.0
-
SERVER_RESPONSE_JSON_ERROR
This error is returned during the parsing of a JSON server response.- Since:
- 6.6
-
-
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
-