public class FastTrackException extends Exception
To identify the error, integrator can use the pre-defined error codes in this class. More over, the message string also contains information of the real error code from the Core API.
Modifier and Type | Field and Description |
---|---|
static int |
BIO_FINGERPRINT_NOT_CONFIGURED
Deprecated.
|
static int |
BIO_FINGERPRINT_NOT_SUPPORTED
Deprecated.
|
static int |
BIOMETRIC_HW_UNAVAILABLE
Biometric hardware is unavailable on the device.
|
static int |
BIOMETRIC_NO_HARDWARE
No biometric hardware on the device.
|
static int |
BIOMETRIC_NOT_ENROLLED
Biometric is not enrolled on the device.
|
static int |
DEVICE_FINGERPRINT
Device Fingerprint failure, most likely due to invalid configuration on CustomData
|
static int |
DEVICE_FINGERPRINT_IDENTICAL
Failed to update the token fingerprint because the old and new fingerprint are identical.
|
static int |
INTERNAL_ERROR
Internal Error, most likely due to internal storage
|
static int |
INVALID_ARGUMENT
This error occurs when the caller passed an invalid argument (e.g.
|
static int |
MESSENGER_INVALID_REGISTRATION_CODE
Messenger Operation failed.
|
static int |
MESSENGER_INVALID_REQUEST_PARAMETER
Messenger Operation failed.
|
static int |
MESSENGER_NETWORK_FAILURE
OOB reported error due to the communication issue.
|
static int |
OTP_GENERATION_FAILURE
Failed in generating OTP.
|
static int |
OTP_PIN_RULE_VIOLATION
Violation of Pin Rule on changePin operation
|
static int |
OTP_PROVISION_FAILURE
Failed in provision Token.
|
static int |
OTP_SETTINGS_NOT_FOUND
OTP Settings not found.
|
static int |
TRANSACTION_SIGNING_DEOBFUSCATION_FAILURE
Messenger Operation failure related to Transaction Signing due to failure on obfuscation
Check the value being passed when calling
FastTrack.Builder.withMspObfuscationKeys(List) |
static int |
TRANSACTION_SIGNING_INVALID_DATA
Messenger Operation failure related to Transaction Signing due to invalid data either on request or response.
|
static int |
TRANSACTION_SIGNING_INVALID_SIGNATURE
Messenger Operation failure related to Transaction Signing due to invalid signature.
|
Constructor and Description |
---|
FastTrackException(int code,
com.gemalto.idp.mobile.core.IdpException cause) |
FastTrackException(int code,
String message) |
FastTrackException(int code,
Throwable cause) |
FastTrackException(int code,
Throwable cause,
String message,
Object... args)
Creates a new exception with domain, code, causing exception and error message.
|
Modifier and Type | Method and Description |
---|---|
int |
getCode()
Get the code of the exception.
|
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
public static final int INVALID_ARGUMENT
public static final int INTERNAL_ERROR
public static final int DEVICE_FINGERPRINT
public static final int DEVICE_FINGERPRINT_IDENTICAL
public static final int OTP_PROVISION_FAILURE
public static final int OTP_GENERATION_FAILURE
public static final int OTP_PIN_RULE_VIOLATION
public static final int OTP_SETTINGS_NOT_FOUND
OathMobileProtector.persistDcvvSettings(String, DcvvSettings)
OathMobileProtector.persistHotpSettings(String, HotpSettings)
OathMobileProtector.persistOcraSettings(String, OcraSettings)
OathMobileProtector.persistTotpSettings(String, TotpSettings)
CapMobileProtector.persistCapSettings(String, CapSettings)
@Deprecated public static final int BIO_FINGERPRINT_NOT_SUPPORTED
@Deprecated public static final int BIO_FINGERPRINT_NOT_CONFIGURED
public static final int MESSENGER_INVALID_REGISTRATION_CODE
public static final int MESSENGER_INVALID_REQUEST_PARAMETER
public static final int MESSENGER_NETWORK_FAILURE
Application developer actions:
public static final int TRANSACTION_SIGNING_INVALID_DATA
public static final int TRANSACTION_SIGNING_INVALID_SIGNATURE
FastTrack.Builder.withMspVerificationKeys(List)
public static final int TRANSACTION_SIGNING_DEOBFUSCATION_FAILURE
FastTrack.Builder.withMspObfuscationKeys(List)
public static final int BIOMETRIC_NO_HARDWARE
public static final int BIOMETRIC_HW_UNAVAILABLE
public static final int BIOMETRIC_NOT_ENROLLED
public FastTrackException(int code, Throwable cause)
public FastTrackException(int code, String message)
public FastTrackException(int code, com.gemalto.idp.mobile.core.IdpException cause)
public FastTrackException(int code, Throwable cause, String message, Object... args)
code
- The error code.cause
- The nested exception causing this exception.message
- The message following String.format(Locale, String, Object...)
} syntax.args
- The optional formatting arguments.