Keyple C++  0.9.0
Keyple, an Open Source SDK for Ticketing
Public Member Functions | List of all members
keyple::calypso::transaction::exception::CalypsoPoCloseSecureSessionException Class Referencefinal

#include <CalypsoPoCloseSecureSessionException.h>

Inherits keyple::calypso::transaction::exception::CalypsoPoTransactionException.

Public Member Functions

 CalypsoPoCloseSecureSessionException (const std::string &message, const std::exception &cause)
 
const CalypsoPoCommandExceptiongetCause ()
 
- Public Member Functions inherited from keyple::core::seproxy::exception::KeypleException
 KeypleException (const std::string &msg)
 
 KeypleException (const std::string &msg, const std::exception &cause)
 
- Public Member Functions inherited from keyple::common::exception::RuntimeException
 RuntimeException (const std::string &message)
 
 RuntimeException (const std::string &message, const std::exception cause)
 
- Public Member Functions inherited from keyple::common::exception::Exception
 Exception ()
 
 Exception (const std::string &message)
 
 Exception (const std::string &message, const std::exception cause)
 
const std::string & getMessage () const
 
const std::exception & getCause () const
 

Additional Inherited Members

- Protected Member Functions inherited from keyple::calypso::transaction::exception::CalypsoPoTransactionException
 CalypsoPoTransactionException (const std::string &message)
 
 CalypsoPoTransactionException (const std::string &message, const std::exception &cause)
 

Detailed Description

The exception keyple::calypso::transaction::exception::CalypsoPoCloseSecureSessionException indicates that the PO has refused the secure session closing.
This is usually due to an incorrect SAM signature, or that the secure session has been altered by other APDU commands that would have interfered with it.
In this case, the PO has rollbacked the data set by cancelling all updates except for PIN verification attempts.

Constructor & Destructor Documentation

◆ CalypsoPoCloseSecureSessionException()

keyple::calypso::transaction::exception::CalypsoPoCloseSecureSessionException::CalypsoPoCloseSecureSessionException ( const std::string &  message,
const std::exception &  cause 
)
inline

Encapsulates the keyple::calypso::command::po::exception::CalypsoPoCommandException exception.

Parameters
messagemessage to identify the exception context
causethe cause

Member Function Documentation

◆ getCause()

const CalypsoPoCommandException& keyple::calypso::transaction::exception::CalypsoPoCloseSecureSessionException::getCause ( )
inline

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