]> https://gitweb.dealii.org/ - dealii-svn.git/commitdiff
New exception ExcIteratorPastEnd
authorguido <guido@0785d39b-7218-0410-832d-ea1e28bc413d>
Fri, 6 Sep 2002 09:08:30 +0000 (09:08 +0000)
committerguido <guido@0785d39b-7218-0410-832d-ea1e28bc413d>
Fri, 6 Sep 2002 09:08:30 +0000 (09:08 +0000)
git-svn-id: https://svn.dealii.org/trunk@6369 0785d39b-7218-0410-832d-ea1e28bc413d

deal.II/base/include/base/exceptions.h

index 59ef78c0f1510708207153e76149d4ff6fc31078..34924656e6ac5a300d9d87ccfc0b5bd9203fc5ea 100644 (file)
@@ -892,7 +892,15 @@ namespace StandardExceptions
   DeclException3 (ExcIndexRange, int, int, int,
                  << "Index " << arg1 << " is not in ["
                  << arg2 << "," << arg3 << "[");
-
+  
+                                  /**
+                                   * This exception is thrown if the
+                                   * iterator you incremented or
+                                   * decremented was already at its
+                                   * final state.
+                                   */
+  DeclException0 (ExcIteratorPastEnd);
+  
                                   /**
                                    * This exception works around a
                                    * design flaw in the

In the beginning the Universe was created. This has made a lot of people very angry and has been widely regarded as a bad move.

Douglas Adams


Typeset in Trocchi and Trocchi Bold Sans Serif.