Class BiometricException

java.lang.Object
java.lang.Throwable
java.lang.Exception
com.codename1.security.BiometricException

public class BiometricException extends Exception
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.
  • Constructor Details

  • Method Details

    • getError

      public BiometricError getError()
      Typed error code describing the failure. Never null.