|
libpsynth 0.2.1
|
A base clase for the errors defined with PSYNTH_DECLARE_ERROR and alike preprocessor commands. More...
#include <exception.hpp>


Public Member Functions | |
| error_base () | |
| Constructor. | |
| error_base (const std::string &what) | |
| Constructor specifying the error message. | |
| virtual | ~error_base () throw () |
| virtual const char * | what () const throw () |
| Returns a message in natural language describing the exception and/or its context. | |
| virtual const char * | where () const throw () |
| Returns the module where the exception was produced. | |
| virtual int | level () const throw () |
| Returns the severity of the exception. | |
Protected Member Functions | |
| virtual const char * | default_what () const throw () |
| Returns a default message for the exception. | |
A base clase for the errors defined with PSYNTH_DECLARE_ERROR and alike preprocessor commands.
| psynth::base::error_base::error_base | ( | ) | [inline] |
Constructor.
| psynth::base::error_base::error_base | ( | const std::string & | what | ) | [inline] |
Constructor specifying the error message.
| virtual psynth::base::error_base::~error_base | ( | ) | throw () [inline, virtual] |
| const char * psynth::base::error_base::default_what | ( | ) | const throw () [protected, virtual] |
Returns a default message for the exception.
| int psynth::base::error_base::level | ( | ) | const throw () [virtual] |
Returns the severity of the exception.
Implements psynth::base::exception.
| virtual const char* psynth::base::error_base::what | ( | ) | const throw () [inline, virtual] |
Returns a message in natural language describing the exception and/or its context.
Implements psynth::base::exception.
| virtual const char* psynth::base::error_base::where | ( | ) | const throw () [inline, virtual] |
Returns the module where the exception was produced.
Implements psynth::base::exception.
1.7.4