libpsynth 0.2.1
Public Member Functions | Protected Member Functions
psynth::base::error_base Class Reference

A base clase for the errors defined with PSYNTH_DECLARE_ERROR and alike preprocessor commands. More...

#include <exception.hpp>

Inheritance diagram for psynth::base::error_base:
Inheritance graph
[legend]
Collaboration diagram for psynth::base::error_base:
Collaboration graph
[legend]

List of all members.

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.

Detailed Description

A base clase for the errors defined with PSYNTH_DECLARE_ERROR and alike preprocessor commands.


Constructor & Destructor Documentation

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]

Member Function Documentation

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.


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