Extensible exception base-class. More...
#include <senf/Utils/Exception.hh>
Public Member Functions | |
virtual | ~Exception () throw () |
virtual char const * | what () const throw () |
get exception description and backtrace if available More... | |
Public Member Functions inherited from senf::ExceptionMixin | |
std::string | message () const |
get exception description More... | |
std::string | backtrace () const |
Return backtrace (if available) More... | |
void | append (std::string text) |
Extend exception description. More... | |
Protected Member Functions | |
Exception (std::string const &description="") | |
Protected Member Functions inherited from senf::ExceptionMixin | |
ExceptionMixin (std::string const &description="") | |
Initialize exception with string. More... | |
Additional Inherited Members | |
Protected Attributes inherited from senf::ExceptionMixin | |
std::string | what_ |
Extensible exception base-class.
This base-class is an exception which already includes the ExceptionMixin. All SENF exceptions are derived from this class. Other user-exception may be defined by deriving from this class too.
Definition at line 164 of file Exception.hh.
|
virtual |
Definition at line 54 of file Exception.cc.
|
explicitprotected |
|
virtual |
get exception description and backtrace if available
get description of the exception (message()) and backtrace information if SENF is compiled with SENF_DEBUG
Definition at line 58 of file Exception.cc.