Keyple Card Calypso C++ Library 2.1.0
Reference Terminal Reader API for C++
Public Member Functions | Protected 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
 

Protected Member Functions

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

Detailed Description

This exception is the parent abstract class of all card APDU commands exceptions.

Since
2.0.0

Definition at line 32 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 
)
inlineprotected

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 65 of file CalypsoApduCommandException.h.

Member Function Documentation

◆ getCommand()

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

Gets the command

Returns
A not null reference.
Since
2.0.0

Definition at line 40 of file CalypsoApduCommandException.h.

◆ getStatusWord()

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

Gets the status word

Returns
A nullable reference
Since
2.0.0

Definition at line 51 of file CalypsoApduCommandException.h.


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