libpsynth 0.2.1
Public Member Functions
psynth::base::exception Class Reference

Base class for all the exceptions inside the framework. More...

#include <exception.hpp>

Inheritance diagram for psynth::base::exception:
Inheritance graph
[legend]

List of all members.

Public Member Functions

virtual ~exception () throw ()
virtual void log () const
 Logs the exception somewhere.
virtual const char * what () const =0 throw ()
 Returns a message in natural language describing the exception and/or its context.
virtual const char * where () const =0 throw ()
 Returns the module where the exception was produced.
virtual int level () const =0 throw ()
 Returns the severity of the exception.

Detailed Description

Base class for all the exceptions inside the framework.


Constructor & Destructor Documentation

virtual psynth::base::exception::~exception ( ) throw () [inline, virtual]

Member Function Documentation

virtual int psynth::base::exception::level ( ) const throw () [pure virtual]

Returns the severity of the exception.

Implemented in psynth::base::error_base, and psynth::base::detail::exception_wrapper< Base, false >.

void psynth::base::exception::log ( ) const [virtual]

Logs the exception somewhere.

Probably this somewhere is:

   logger::self ().path (where ())
virtual const char* psynth::base::exception::what ( ) const throw () [pure virtual]

Returns a message in natural language describing the exception and/or its context.

Implemented in psynth::base::error_base, and psynth::base::detail::exception_wrapper< Base, false >.

virtual const char* psynth::base::exception::where ( ) const throw () [pure virtual]

Returns the module where the exception was produced.

Implemented in psynth::base::error_base, and psynth::base::detail::exception_wrapper< Base, false >.


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