Class UnexpectedCommandStatusException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
org.eclipse.keypop.calypso.card.transaction.UnexpectedCommandStatusException
- All Implemented Interfaces:
Serializable
Indicates that an unexpected command status was returned by the card or the cryptographic module.
This can occur if the card or the cryptographic module is not Calypso compliant or if the card has refused the secure session closing.
For this last case, this is usually due to an incorrect cryptographic module signature, or that the secure session has been altered by other APDU commands that would have interfered with it.
If a secure session was open, the card discarded all data by cancelling all updates except for PIN verification attempts.
- Since:
- 1.2.0
- See Also:
-
Constructor Summary
-
Method Summary
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
UnexpectedCommandStatusException
- Parameters:
message
- Message to identify the exception context.cause
- The cause.- Since:
- 1.2.0
-