Keyple Card Calypso C++ Library 2.2.2
Reference Terminal Reader API for C++
Public Member Functions | List of all members
keyple::card::calypso::CalypsoApduCommandException Class Reference

#include <CalypsoApduCommandException.h>

Inheritance diagram for keyple::card::calypso::CalypsoApduCommandException:
Inheritance graph
[legend]
Collaboration diagram for keyple::card::calypso::CalypsoApduCommandException:
Collaboration graph
[legend]

Public Member Functions

const CardCommandgetCommand () const
 
const std::shared_ptr< int > getStatusWord () const
 
 CalypsoApduCommandException (const std::string &message, const CardCommand &command, const std::shared_ptr< int > statusWord)
 

Detailed Description

(package-private)
This exception is the parent abstract class of all card APDU commands exceptions.

Since
2.0.0

Definition at line 33 of file CalypsoApduCommandException.h.

Constructor & Destructor Documentation

◆ CalypsoApduCommandException()

keyple::card::calypso::CalypsoApduCommandException::CalypsoApduCommandException ( const std::string &  message,
const CardCommand command,
const std::shared_ptr< int >  statusWord 
)
inline

(package-private)
Constructor allowing to set the error message and the reference to the command

Parameters
messagethe message to identify the exception context (Should not be null).
commandthe command.
statusWordthe status word.
Since
2.0.0

Definition at line 68 of file CalypsoApduCommandException.h.

Member Function Documentation

◆ getCommand()

const CardCommand & keyple::card::calypso::CalypsoApduCommandException::getCommand ( ) const
inline

(package-private)
Gets the command

Returns
A not null reference.
Since
2.0.0

Definition at line 42 of file CalypsoApduCommandException.h.

◆ getStatusWord()

const std::shared_ptr< int > keyple::card::calypso::CalypsoApduCommandException::getStatusWord ( ) const
inline

(package-private)
Gets the status word

Returns
A nullable reference
Since
2.0.0

Definition at line 54 of file CalypsoApduCommandException.h.


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