Keypop Card C++ API 2.0.0
Reference Card API for C++
Public Member Functions | List of all members
keypop::card::ReaderBrokenCommunicationException Class Referencefinal

#include <ReaderBrokenCommunicationException.hpp>

Inheritance diagram for keypop::card::ReaderBrokenCommunicationException:
Inheritance graph
[legend]
Collaboration diagram for keypop::card::ReaderBrokenCommunicationException:
Collaboration graph
[legend]

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< CardResponseApigetCardResponse () const
 
bool isCardResponseComplete () const
 
const std::string & getMessage () const
 

Detailed Description

Exception carrying response data received from the card until a communication failure with the reader occurs.

Since
1.0.0

Definition at line 29 of file ReaderBrokenCommunicationException.hpp.

Constructor & Destructor Documentation

◆ ReaderBrokenCommunicationException() [1/2]

keypop::card::ReaderBrokenCommunicationException::ReaderBrokenCommunicationException ( const std::shared_ptr< CardResponseApi cardResponseApi,
const bool  isCardResponseComplete,
const std::string &  message 
)
inline

Builds a new exception embedding card response data.

Parameters
cardResponseApiThe card responses received so far.
isCardResponseCompleteTrue if the number responses equals the number of requests present in the original calypsonet::terminal::card::spi::CardRequestSpi.
messageMessage to identify the exception context.
Since
1.0.0

Definition at line 41 of file ReaderBrokenCommunicationException.hpp.

◆ ReaderBrokenCommunicationException() [2/2]

keypop::card::ReaderBrokenCommunicationException::ReaderBrokenCommunicationException ( const std::shared_ptr< CardResponseApi cardResponseApi,
const bool  isCardResponseComplete,
const std::string &  message,
const std::shared_ptr< exception >  cause 
)
inline

Builds a new exception embedding card response data with the originating exception.

Parameters
cardResponseApiThe card responses received so far.
isCardResponseCompleteTrue if the number responses equals the number of requests present in the original calypsonet::terminal::card::spi::CardRequestSpi.
messageMessage to identify the exception context.
causeThe cause
Since
1.0.0

Definition at line 60 of file ReaderBrokenCommunicationException.hpp.


The documentation for this class was generated from the following file: