Keyple C++  0.9.0
Keyple, an Open Source SDK for Ticketing
Public Member Functions | Friends | List of all members
keyple::common::exception::Exception Class Reference

#include <Exception.h>

Inherits exception.

Inherited by keyple::common::exception::ClassNotFoundException, keyple::common::exception::IllegalAccessException, keyple::common::exception::IllegalArgumentException, keyple::common::exception::IllegalStateException, keyple::common::exception::IndexOutOfBoundsException, keyple::common::exception::InstantiationException, keyple::common::exception::InterruptedException, keyple::common::exception::InvocationTargetException, keyple::common::exception::IOException, keyple::common::exception::NameNotFoundException, keyple::common::exception::NoSuchElementException, keyple::common::exception::NoSuchMethodException, keyple::common::exception::NumberFormatException, keyple::common::exception::RuntimeException, keyple::common::exception::SecurityException, and keyple::plugin::pcsc::PcscTerminalException.

Public Member Functions

 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
 

Friends

std::ostream & operator<< (std::ostream &os, const Exception &e)
 

Constructor & Destructor Documentation

◆ Exception() [1/3]

keyple::common::exception::Exception::Exception ( )
inline

◆ Exception() [2/3]

keyple::common::exception::Exception::Exception ( const std::string &  message)
inline

◆ Exception() [3/3]

keyple::common::exception::Exception::Exception ( const std::string &  message,
const std::exception  cause 
)
inline

Member Function Documentation

◆ getCause()

const std::exception& keyple::common::exception::Exception::getCause ( ) const
inline

Returns the cause of the exception.

◆ getMessage()

const std::string& keyple::common::exception::Exception::getMessage ( ) const
inline

Returns the detail message string of this exception.

Friends And Related Function Documentation

◆ operator<<

std::ostream& operator<< ( std::ostream &  os,
const Exception e 
)
friend

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