Class NfcException


public class NfcException extends Exception
Thrown via the failure path of an AsyncResource returned by Nfc when an NFC read, write, or HCE operation fails. getError() returns a typed NfcError so callers can react without string-matching the message.
  • Constructor Details

  • Method Details

    • getError

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