]> https://gitweb.dealii.org/ - dealii-svn.git/commitdiff
New exception ExcIndexRange(i,a,b)
authorguido <guido@0785d39b-7218-0410-832d-ea1e28bc413d>
Thu, 4 Mar 1999 16:35:11 +0000 (16:35 +0000)
committerguido <guido@0785d39b-7218-0410-832d-ea1e28bc413d>
Thu, 4 Mar 1999 16:35:11 +0000 (16:35 +0000)
git-svn-id: https://svn.dealii.org/trunk@950 0785d39b-7218-0410-832d-ea1e28bc413d

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

index b065f01e58201b23e76c6c8026c925a211663318..e2d9e716f62c52c7c75b61d5b76d7a71da440f72 100644 (file)
@@ -567,6 +567,10 @@ namespace StandardExceptions
 {
   DeclException0 (ExcNotImplemented);
   DeclException0 (ExcInternalError);
+  DeclException3 (ExcIndexRange, int, int, int,
+                 << "Index " << arg1 << " is not in ["
+                 << arg2 << "," << arg3 << ")");
+  
 };
 
 

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.