Keypop Card C++ API 2.0.0
Reference Card API for C++
|
#include <ReaderBrokenCommunicationException.hpp>
Public Member Functions | |
ReaderBrokenCommunicationException (const std::shared_ptr< CardResponseApi > cardResponseApi, const bool isCardResponseComplete, const std::string &message) | |
ReaderBrokenCommunicationException (const std::shared_ptr< CardResponseApi > cardResponseApi, const bool isCardResponseComplete, const std::string &message, const std::shared_ptr< 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 reader occurs.
Definition at line 28 of file ReaderBrokenCommunicationException.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 | Message to identify the exception context. |
Definition at line 39 of file ReaderBrokenCommunicationException.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 56 of file ReaderBrokenCommunicationException.hpp.