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

#include <CardBrokenCommunicationException.hpp>

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

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< CardResponseApigetCardResponse ()
 
bool isCardResponseComplete () const
 

Detailed Description

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

Since
1.0.0

Definition at line 28 of file CardBrokenCommunicationException.hpp.

Constructor & Destructor Documentation

◆ CardBrokenCommunicationException() [1/2]

keypop::card::CardBrokenCommunicationException::CardBrokenCommunicationException ( 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 keypop::card::spi::CardRequestSpi.
messageMessage to identify the exception context.
Since
1.0.0

Definition at line 39 of file CardBrokenCommunicationException.hpp.

◆ CardBrokenCommunicationException() [2/2]

keypop::card::CardBrokenCommunicationException::CardBrokenCommunicationException ( const std::shared_ptr< CardResponseApi cardResponseApi,
const bool  isCardResponseComplete,
const std::string &  message,
const std::shared_ptr< std::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 keypop::card::spi::CardRequestSpi.
messageMessage to identify the exception context.
causeThe cause
Since
1.0.0

Definition at line 56 of file CardBrokenCommunicationException.hpp.


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