hdnum::Exception Class Reference

Base class for Exceptions. More...

#include <exceptions.hh>

Inheritance diagram for hdnum::Exception:
hdnum::ErrorException hdnum::InvalidStateException hdnum::IOError hdnum::MathError hdnum::NotImplemented hdnum::RangeError hdnum::SystemError hdnum::OutOfMemoryError hdnum::TimerError

List of all members.

Public Member Functions

void message (const std::string &message)
 store string in internal message buffer
const std::string & what () const
 output internal message buffer

Detailed Description

Base class for Exceptions.

all HDNUM exceptions are derived from this class via trivial subclassing:

        class MyException : public Dune::Exception {};

You should not throw a Dune::Exception directly but use the macro DUNE_THROW() instead which fills the message-buffer of the exception in a standard way and features a way to pass the result in the operator<<-style

See also:
HDNUM_THROW, IOError, MathError

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

Generated on Wed May 11 18:31:28 2011 for Heidelberg Educational Numerics Library by  doxygen 1.6.1