Heidelberg Educational Numerics Library Version 0.27 (from 15 March 2021)
|
Base class for Exceptions. More...
#include <exceptions.hh>
Public Member Functions | |
void | message (const std::string &message) |
store string in internal message buffer | |
const std::string & | what () const |
output internal message buffer | |
Base class for Exceptions.
all HDNUM exceptions are derived from this class via trivial subclassing:
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