dune-common  2.3.0
Public Member Functions | Static Public Member Functions | List of all members
Dune::OutOfMemoryError Class Reference

Default exception if memory allocation fails. More...

#include <dune/common/exceptions.hh>

Inheritance diagram for Dune::OutOfMemoryError:
Inheritance graph

Public Member Functions

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

Static Public Member Functions

static void registerHook (ExceptionHook *hook)
 add a functor which is called before a Dune::Exception is emitted (see Dune::ExceptionHook)
static void clearHook ()
 remove all hooks

Detailed Description

Default exception if memory allocation fails.


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