public class BiometricException
Thrown via the failure path of an
AsyncResource returned by Biometrics
or SecureStorage when the underlying biometric or keychain operation
fails. getError() returns a typed BiometricError code so callers can
react without string-matching.Constructors
public BiometricException(BiometricError error) | |
public BiometricException(BiometricError error, String message) | |
public BiometricException(BiometricError error, String message, Throwable cause) |
Methods
public BiometricError getError() | Typed error code describing the failure. |
Inherited methods
Constructor details
BiometricException
public BiometricException(BiometricError error)BiometricException
public BiometricException(BiometricError error, String message)BiometricException
public BiometricException(BiometricError error, String message, Throwable cause)Method details
getError
public BiometricError getError()Typed error code describing the failure. Never
null.