|
Keypop Card C++ API - 2.0.1
Component of the Keypop C++ API
|
Generic exception carrying response data received from the card until a communication failure occurs or an unexpected APDU status code is received. More...
#include <keypop/card/AbstractApduException.hpp>


Public Member Functions | |
| AbstractApduException (const std::shared_ptr< CardResponseApi > cardResponseApi, const bool isCardResponseComplete, const std::string &message) | |
| Builds a new exception embedding card response data. More... | |
| AbstractApduException (const std::shared_ptr< CardResponseApi > cardResponseApi, const bool isCardResponseComplete, const std::string &message, const std::shared_ptr< std::exception > cause) | |
| Builds a new exception embedding card response data with the originating exception. More... | |
| const std::shared_ptr< CardResponseApi > | getCardResponse () const |
| Gets the response data received so far. More... | |
| bool | isCardResponseComplete () const |
| Indicates if all the responses expected from the corresponding calypsonet::terminal::card::spi::CardRequestSpi have been received. More... | |
| const std::string & | getMessage () const |
Generic exception carrying response data received from the card until a communication failure occurs or an unexpected APDU status code is received.
Definition at line 28 of file AbstractApduException.hpp.
|
inline |
Builds a new exception embedding card response data.
| cardResponseApi | The card responses received so far. |
| isCardResponseComplete | True if the number responses equals the number of requests present in the original calypsonet::terminal::card::spi::CardRequestSpi. |
| message | The message to identify the exception context. |
Definition at line 40 of file AbstractApduException.hpp.
|
inline |
Builds a new exception embedding card response data with the originating exception.
| cardResponseApi | The card responses received so far. |
| isCardResponseComplete | True if the number responses equals the number of requests present in the original calypsonet::terminal::card::spi::CardRequestSpi. |
| message | Message to identify the exception context. |
| cause | The cause |
Definition at line 62 of file AbstractApduException.hpp.
|
inline |
Gets the response data received so far.
Definition at line 80 of file AbstractApduException.hpp.
|
inline |
Definition at line 100 of file AbstractApduException.hpp.
|
inline |
Indicates if all the responses expected from the corresponding calypsonet::terminal::card::spi::CardRequestSpi have been received.
Definition at line 92 of file AbstractApduException.hpp.