Keypop Card C++ API 2.0.0
Reference Card API for C++
|
#include <CardBrokenCommunicationException.hpp>
Public Member Functions | |
CardBrokenCommunicationException (const std::shared_ptr< CardResponseApi > cardResponseApi, const bool isCardResponseComplete, const std::string &message) | |
CardBrokenCommunicationException (const std::shared_ptr< CardResponseApi > cardResponseApi, const bool isCardResponseComplete, const std::string &message, const std::shared_ptr< std::exception > cause) | |
Public Member Functions inherited from keypop::card::AbstractApduException | |
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 |
Exception carrying response data received from the card until a communication failure with the card occurs.
Definition at line 28 of file CardBrokenCommunicationException.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 keypop::card::spi::CardRequestSpi. |
message | Message to identify the exception context. |
Definition at line 39 of file CardBrokenCommunicationException.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 keypop::card::spi::CardRequestSpi. |
message | Message to identify the exception context. |
cause | The cause |
Definition at line 56 of file CardBrokenCommunicationException.hpp.