Dune::Exception Class Reference

#include <exceptions.hh>

Inheritance diagram for Dune::Exception:

Dune::FMatrixError Dune::InvalidStateException Dune::IOError Dune::MathError Dune::NotImplemented Dune::RangeError Dune::SystemError Dune::DebugStreamError Dune::DoubleLinkedListError Dune::StackException Dune::OutOfMemoryError Dune::TimerError

List of all members.


Detailed Description

Base class for Dune-Exceptions.

all Dune 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:
DUNE_THROW, IOError, MathError

Public Member Functions

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

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

Generated on Thu Apr 2 10:39:54 2009 for dune-common by  doxygen 1.5.6