TBTK
TBTK::Exception Class Reference
Inheritance diagram for TBTK::Exception:
TBTK::ElementNotFoundException TBTK::IndexException

Public Member Functions

 Exception (const std::string &function, const std::string &where, const std::string &message, const std::string &hint)
 
virtual ~Exception ()
 
virtual const char * what () const noexcept
 
virtual void print () const
 
const std::string & getFunction () const
 
const std::string & getWhere () const
 
const std::string & getMessage () const
 
const std::string & getHint () const
 

Constructor & Destructor Documentation

TBTK::Exception::Exception ( const std::string &  function,
const std::string &  where,
const std::string &  message,
const std::string &  hint 
)

Constructor.

virtual TBTK::Exception::~Exception ( )
virtual

Destructor.

Member Function Documentation

const std::string & TBTK::Exception::getFunction ( ) const
inline

Get function.

const std::string & TBTK::Exception::getHint ( ) const
inline

Get hint.

const std::string & TBTK::Exception::getMessage ( ) const
inline

Get message.

const std::string & TBTK::Exception::getWhere ( ) const
inline

Get where.

virtual void TBTK::Exception::print ( ) const
virtual

Print exception to standard error output.

virtual const char* TBTK::Exception::what ( ) const
virtualnoexcept

Overrider std::exception::what().


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