Class ApduException
java.lang.Object
java.lang.Throwable
java.lang.Exception
com.yubico.yubikit.core.application.CommandException
com.yubico.yubikit.core.smartcard.ApduException
- All Implemented Interfaces:
Serializable
Thrown when an APDU command fails with an error code. See
SW
for a list of status codes.- See Also:
-
Constructor Summary
Constructors -
Method Summary
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
ApduException
public ApduException(short sw) -
ApduException
-
-
Method Details
-
getSw
public short getSw()Gets error code that received via APDU response- Returns:
- error code
-