From f7d1628d3b5071d4efbe3e9f746743179455c1bc Mon Sep 17 00:00:00 2001
From: Markus Blatt <mblatt@dune-project.org>
Date: Sat, 4 Nov 2006 12:25:51 +0000
Subject: [PATCH] Added new exception

[[Imported from SVN: r4768]]
---
 common/exceptions.hh | 5 +++++
 1 file changed, 5 insertions(+)

diff --git a/common/exceptions.hh b/common/exceptions.hh
index d82e0cc2d..5e783e426 100644
--- a/common/exceptions.hh
+++ b/common/exceptions.hh
@@ -190,6 +190,11 @@ namespace Dune {
    */
   class OutOfMemoryError : public SystemError {};
 
+  /*! \brief Default exception if a function was called while
+   * the object is not in a valid state for that function.
+   */
+  class InvalidStateException : public Exception {};
+
 } // end namespace
 
 #endif
-- 
GitLab