Class InvalidPinException

  • All Implemented Interfaces:
    java.io.Serializable

    public class InvalidPinException
    extends com.yubico.yubikit.core.application.CommandException
    Thrown when the wrong PIN or PUK is used (or when the PIN or PUK is in a blocked state).
    See Also:
    Serialized Form
    • Constructor Summary

      Constructors 
      Constructor Description
      InvalidPinException​(int attemptsRemaining)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      int getAttemptsRemaining()  
      • Methods inherited from class java.lang.Throwable

        addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
    • Constructor Detail

      • InvalidPinException

        public InvalidPinException​(int attemptsRemaining)
    • Method Detail

      • getAttemptsRemaining

        public int getAttemptsRemaining()