Package org.eclipse.keypop.card
Class ReaderBrokenCommunicationException
java.lang.Object
java.lang.Throwable
java.lang.Exception
org.eclipse.keypop.card.AbstractApduException
org.eclipse.keypop.card.ReaderBrokenCommunicationException
- All Implemented Interfaces:
Serializable
Exception carrying response data received from the card until a communication failure with the
reader occurs.
- Since:
- 1.0.0
- See Also:
-
Constructor Summary
ConstructorDescriptionReaderBrokenCommunicationException
(CardResponseApi cardResponseApi, boolean isCardResponseComplete, String message) Builds a new exception embedding card response data.ReaderBrokenCommunicationException
(CardResponseApi cardResponseApi, boolean isCardResponseComplete, String message, Throwable cause) Builds a new exception embedding card response data with the originating exception. -
Method Summary
Methods inherited from class org.eclipse.keypop.card.AbstractApduException
getCardResponse, isCardResponseComplete
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
ReaderBrokenCommunicationException
public ReaderBrokenCommunicationException(CardResponseApi cardResponseApi, boolean isCardResponseComplete, String message) Builds a new exception embedding card response data.- Parameters:
cardResponseApi
- The card responses received so far.isCardResponseComplete
- True if the number responses equals the number of requests present in the originalCardRequestSpi
.message
- Message to identify the exception context.- Since:
- 1.0.0
-
ReaderBrokenCommunicationException
public ReaderBrokenCommunicationException(CardResponseApi cardResponseApi, boolean isCardResponseComplete, String message, Throwable cause) Builds a new exception embedding card response data with the originating exception.- Parameters:
cardResponseApi
- The card responses received so far.isCardResponseComplete
- True if the number responses equals the number of requests present in the originalCardRequestSpi
.message
- Message to identify the exception context.cause
- The cause- Since:
- 1.0.0
-