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

#include <UnexpectedStatusWordException.hpp>

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

Public Member Functions

 UnexpectedStatusWordException (const std::shared_ptr< CardResponseApi > cardResponseApi, const bool isCardResponseComplete, const std::string &message)
 
 UnexpectedStatusWordException (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 ()
 
bool isCardResponseComplete () const
 

Detailed Description

Exception carrying response data received from the card until an unexpected APDU status word is received.

Since
1.0.0

Definition at line 28 of file UnexpectedStatusWordException.hpp.

Constructor & Destructor Documentation

◆ UnexpectedStatusWordException() [1/2]

keypop::card::UnexpectedStatusWordException::UnexpectedStatusWordException ( 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 39 of file UnexpectedStatusWordException.hpp.

◆ UnexpectedStatusWordException() [2/2]

keypop::card::UnexpectedStatusWordException::UnexpectedStatusWordException ( 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 56 of file UnexpectedStatusWordException.hpp.


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