Skip to content
Snippets Groups Projects
Commit 32d3383c authored by Thimo Neubauer's avatar Thimo Neubauer
Browse files

added OutOfMemoryError as subclass of SystemError because I expect

this to be the most popular error reason :)

[[Imported from SVN: r984]]
parent 56a0cac2
No related branches found
No related tags found
No related merge requests found
......@@ -10,9 +10,9 @@
namespace Dune {
/*! \file exceptions.hh */
/*! \defgroup Exceptions Exception handling
\ingroup Common
The Dune-exceptions are designed to allow a simple derivation of subclasses
and to accept a text written in the '<<' syntax.
......@@ -60,6 +60,14 @@ namespace Dune {
*/
/*! \file
This file defines a common framework for generating exception
subclasses and to throw them in a simple manner
*/
/*! \brief Base class for Dune-Exceptions
all Dune exceptions are derived from this class via trivial subclassing:
......@@ -167,6 +175,11 @@ namespace Dune {
*/
class SystemError : public Exception {};
/*! default exception if memory allocation fails
*/
class OutOfMemoryError : public SystemError {};
} // end namespace
#endif
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment