Package org.calypsonet.terminal.card
Class CardBrokenCommunicationException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- org.calypsonet.terminal.card.AbstractApduException
-
- org.calypsonet.terminal.card.CardBrokenCommunicationException
-
- All Implemented Interfaces:
java.io.Serializable
public class CardBrokenCommunicationException extends AbstractApduException
Exception carrying response data received from the card until a communication failure with the card occurs.- Since:
- 1.0.0
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description CardBrokenCommunicationException(CardResponseApi cardResponseApi, boolean isCardResponseComplete, java.lang.String message)
Builds a new exception embedding card response data.CardBrokenCommunicationException(CardResponseApi cardResponseApi, boolean isCardResponseComplete, java.lang.String message, java.lang.Throwable cause)
Builds a new exception embedding card response data with the originating exception.
-
Method Summary
-
Methods inherited from class org.calypsonet.terminal.card.AbstractApduException
getCardResponse
-
-
-
-
Constructor Detail
-
CardBrokenCommunicationException
public CardBrokenCommunicationException(CardResponseApi cardResponseApi, boolean isCardResponseComplete, java.lang.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
-
CardBrokenCommunicationException
public CardBrokenCommunicationException(CardResponseApi cardResponseApi, boolean isCardResponseComplete, java.lang.String message, java.lang.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
-
-