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

#include <CalypsoSamAnomalyException.h>

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

Public Member Functions

 CalypsoSamAnomalyException (const std::string &message, const std::exception &cause)
 
const CalypsoSamCommandExceptiongetCause () override
 
- 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

indicates an anomaly in the SAM.
This can occur if the SAM is not Calypso compliant.

Constructor & Destructor Documentation

◆ CalypsoSamAnomalyException()

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

Encapsulates an unexpected keyple::calypso::command::sam::exception::CalypsoSamCommandException exception.

Parameters
messagemessage to identify the exception context
causethe cause

Member Function Documentation

◆ getCause()

const CalypsoSamCommandException& keyple::calypso::transaction::exception::CalypsoSamAnomalyException::getCause ( )
inlineoverride

The documentation for this class was generated from the following file:
keyple::calypso::transaction::exception::CalypsoSamAnomalyException::CalypsoSamAnomalyException
CalypsoSamAnomalyException(const std::string &message, const std::exception &cause)
Definition: CalypsoSamAnomalyException.h:39