41 const std::shared_ptr<CardResponseApi> cardResponseApi,
43 const std::string& message)
46 , mCardResponseApi(cardResponseApi)
63 const std::shared_ptr<CardResponseApi> cardResponseApi,
65 const std::string& message,
66 const std::shared_ptr<std::exception> cause)
67 : std::exception(*cause)
69 , mCardResponseApi(cardResponseApi)
79 const std::shared_ptr<CardResponseApi>
81 return mCardResponseApi;
93 return mIsCardResponseComplete;
108 const std::string mMessage;
113 const std::shared_ptr<CardResponseApi> mCardResponseApi;
118 const bool mIsCardResponseComplete =
false;
Generic exception carrying response data received from the card until a communication failure occurs ...
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.
AbstractApduException(const std::shared_ptr< CardResponseApi > cardResponseApi, const bool isCardResponseComplete, const std::string &message)
Builds a new exception embedding card response data.
bool isCardResponseComplete() const
Indicates if all the responses expected from the corresponding calypsonet::terminal::card::spi::CardR...
const std::string & getMessage() const
const std::shared_ptr< CardResponseApi > getCardResponse() const
Gets the response data received so far.