]> https://gitweb.dealii.org/ - dealii-svn.git/commitdiff
new global exception ExcDimensionMismatch
authorguido <guido@0785d39b-7218-0410-832d-ea1e28bc413d>
Wed, 7 Jul 1999 16:34:08 +0000 (16:34 +0000)
committerguido <guido@0785d39b-7218-0410-832d-ea1e28bc413d>
Wed, 7 Jul 1999 16:34:08 +0000 (16:34 +0000)
git-svn-id: https://svn.dealii.org/trunk@1550 0785d39b-7218-0410-832d-ea1e28bc413d

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

index 127bfc7ee8de700bec7aa939aca5e0926b91f488..487a7eb171e35fcd941fe46deda6d8864ec84d28 100644 (file)
@@ -568,6 +568,8 @@ namespace StandardExceptions
   DeclException0 (ExcDivideByZero);
   DeclException0 (ExcNotImplemented);
   DeclException0 (ExcInternalError);
+  DeclException2 (ExcDimensionMismatch, int, int,
+                 << "Dimension " << arg1 << " not equal to " << arg2);
   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.