Class InvalidPinException
java.lang.Object
java.lang.Throwable
java.lang.Exception
com.yubico.yubikit.core.application.CommandException
com.yubico.yubikit.core.application.InvalidPinException
- All Implemented Interfaces:
Serializable
Thrown when the wrong PIN or PUK is used (or when the PIN or PUK is in a blocked state).
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionInvalidPinException
(int attemptsRemaining) InvalidPinException
(int attemptsRemaining, String message) -
Method Summary
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
InvalidPinException
-
InvalidPinException
public InvalidPinException(int attemptsRemaining)
-
-
Method Details
-
getAttemptsRemaining
public int getAttemptsRemaining()
-