Enum MGErrorCode
- java.lang.Object
-
- java.lang.Enum<MGErrorCode>
-
- com.gemalto.mfs.mwsdk.mobilegateway.enrollment.MGErrorCode
-
- All Implemented Interfaces:
java.io.Serializable
,java.lang.Comparable<MGErrorCode>
public enum MGErrorCode extends java.lang.Enum<MGErrorCode>
MGErrorCode provides the different kinds of error returned by the Mobile Gateway library.
-
-
Enum Constant Summary
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static MGErrorCode
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.static MGErrorCode[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
NO_INTERNET
public static final MGErrorCode NO_INTERNET
-
CONNECTION_TIMEOUT
public static final MGErrorCode CONNECTION_TIMEOUT
-
COMMUNICATION_ERROR
public static final MGErrorCode COMMUNICATION_ERROR
-
SERVER_ERROR
public static final MGErrorCode SERVER_ERROR
-
INTERNAL_ERROR
public static final MGErrorCode INTERNAL_ERROR
-
FPAN_NOT_ELIGIBLE
public static final MGErrorCode FPAN_NOT_ELIGIBLE
-
UNKNOWN_BIN
public static final MGErrorCode UNKNOWN_BIN
-
UNKNOWN_CARD_PRODUCT
public static final MGErrorCode UNKNOWN_CARD_PRODUCT
-
CARD_PRODUCT_NOT_SUPPORTED
public static final MGErrorCode CARD_PRODUCT_NOT_SUPPORTED
-
INCORRECT_CVV
public static final MGErrorCode INCORRECT_CVV
-
CARD_ALREADY_PROVISIONED_IN_WALLET
public static final MGErrorCode CARD_ALREADY_PROVISIONED_IN_WALLET
-
DEVICE_NOT_ELIGIBLE
public static final MGErrorCode DEVICE_NOT_ELIGIBLE
-
RESOURCE_NOT_FOUND
public static final MGErrorCode RESOURCE_NOT_FOUND
-
INCORRECT_AUTHENTICATION_TOKEN
public static final MGErrorCode INCORRECT_AUTHENTICATION_TOKEN
-
CARD_PROVISIONING_COUNT_EXCEEDED
public static final MGErrorCode CARD_PROVISIONING_COUNT_EXCEEDED
-
UNKONOWN_IDV_METHOD
public static final MGErrorCode UNKONOWN_IDV_METHOD
-
PROVISIONING_NOT_ALLOWED
public static final MGErrorCode PROVISIONING_NOT_ALLOWED
-
INCORRECT_OTP
public static final MGErrorCode INCORRECT_OTP
-
INCORRECT_OTP_MAX_TRY_EXCEEDED
public static final MGErrorCode INCORRECT_OTP_MAX_TRY_EXCEEDED
-
OTP_EXPIRED
public static final MGErrorCode OTP_EXPIRED
-
IDV_METHOD_NOT_AVAILABLE
public static final MGErrorCode IDV_METHOD_NOT_AVAILABLE
-
UNEXPECTED_INTERNAL_ERROR
public static final MGErrorCode UNEXPECTED_INTERNAL_ERROR
-
EXTERNAL_SYSTEM_UNAVAILABLE
public static final MGErrorCode EXTERNAL_SYSTEM_UNAVAILABLE
-
UNKNOWN_WALLET_PROVIDER_ID
public static final MGErrorCode UNKNOWN_WALLET_PROVIDER_ID
-
UNKNOWN_WALLET_ID
public static final MGErrorCode UNKNOWN_WALLET_ID
-
UNKNOWN_DIGITAL_CARD_ID
public static final MGErrorCode UNKNOWN_DIGITAL_CARD_ID
-
UNKNOWN_CORRELATION_ID
public static final MGErrorCode UNKNOWN_CORRELATION_ID
-
CARD_STATE_DOES_NOT_ALLOW_REQUESTED_OPERATION
public static final MGErrorCode CARD_STATE_DOES_NOT_ALLOW_REQUESTED_OPERATION
-
OPERATION_ALREADY_ONGOING
public static final MGErrorCode OPERATION_ALREADY_ONGOING
-
OPERATION_FAILED
public static final MGErrorCode OPERATION_FAILED
-
UNKNOWN_DEVICE_ID
public static final MGErrorCode UNKNOWN_DEVICE_ID
-
MISSING_REQUIRED_PARAMETER
public static final MGErrorCode MISSING_REQUIRED_PARAMETER
-
UNKNOWN_ISSUER_ID
public static final MGErrorCode UNKNOWN_ISSUER_ID
-
UNKNOWN_CARD_ID
public static final MGErrorCode UNKNOWN_CARD_ID
-
NO_TNC_RESOURCE_ID
public static final MGErrorCode NO_TNC_RESOURCE_ID
-
INVALID_TNC_DATA_TYPE
public static final MGErrorCode INVALID_TNC_DATA_TYPE
-
SECURESTORAGE_WRITE_CONFIG_DATA_ERROR
public static final MGErrorCode SECURESTORAGE_WRITE_CONFIG_DATA_ERROR
-
SECURESTORAGE_WIPE_ALL_ERROR
public static final MGErrorCode SECURESTORAGE_WIPE_ALL_ERROR
-
CONTEXT_MISSING_ERROR
public static final MGErrorCode CONTEXT_MISSING_ERROR
-
WEB_3DS_AUTHENTICATION_FAILED
public static final MGErrorCode WEB_3DS_AUTHENTICATION_FAILED
-
WEB_3DS_DATA_ERROR
public static final MGErrorCode WEB_3DS_DATA_ERROR
-
APP_TO_APP_DATA_ERROR
public static final MGErrorCode APP_TO_APP_DATA_ERROR
-
INVALID_CARD_DATA
public static final MGErrorCode INVALID_CARD_DATA
-
NO_CARD_META_DATA
public static final MGErrorCode NO_CARD_META_DATA
-
CARD_META_DATA_JSON_ERROR
public static final MGErrorCode CARD_META_DATA_JSON_ERROR
-
NO_CARD_DATA
public static final MGErrorCode NO_CARD_DATA
-
INVALID_ASSET_TYPE
public static final MGErrorCode INVALID_ASSET_TYPE
-
INVALID_ASSET_VERSION
public static final MGErrorCode INVALID_ASSET_VERSION
-
ASSET_NOT_AVAILABLE
public static final MGErrorCode ASSET_NOT_AVAILABLE
-
BLOCKED_SECURE_WALLET_ENROLLMENT_REQUIRED
public static final MGErrorCode BLOCKED_SECURE_WALLET_ENROLLMENT_REQUIRED
-
DEVICE_SUSPICIOUS
public static final MGErrorCode DEVICE_SUSPICIOUS
Error returned when Device is suspicious. This operation cannot continue .- Since:
- TSH Pay SDK 6.5.0
-
SERVER_RESPONSE_JSON_ERROR
public static final MGErrorCode SERVER_RESPONSE_JSON_ERROR
Error during jsonParsing of server response- Since:
- 6.6
-
-
Method Detail
-
values
public static MGErrorCode[] 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 (MGErrorCode c : MGErrorCode.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static MGErrorCode 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
-
-