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 () |
bool | isCardResponseComplete () 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 27 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 38 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 57 of file AbstractApduException.hpp.
|
inline |
Gets the response data received so far.
Definition at line 74 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 86 of file AbstractApduException.hpp.