|
Keypop Card C++ API 2.0.0
Reference Card API for C++
|
#include <AbstractApduException.hpp>


Public Member Functions | |
| AbstractApduException (const std::shared_ptr< CardResponseApi > cardResponseApi, const bool isCardResponseComplete, const std::string &message) | |
| AbstractApduException (const std::shared_ptr< CardResponseApi > cardResponseApi, const bool isCardResponseComplete, const std::string &message, const std::shared_ptr< std::exception > cause) | |
| const std::shared_ptr< CardResponseApi > | getCardResponse () const |
| bool | isCardResponseComplete () const |
| 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.