From: guido Date: Wed, 7 Jul 1999 16:34:08 +0000 (+0000) Subject: new global exception ExcDimensionMismatch X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=e1641c080feb309b3a8da9bcd15cc4ff69c9391d;p=dealii-svn.git new global exception ExcDimensionMismatch git-svn-id: https://svn.dealii.org/trunk@1550 0785d39b-7218-0410-832d-ea1e28bc413d --- diff --git a/deal.II/base/include/base/exceptions.h b/deal.II/base/include/base/exceptions.h index 127bfc7ee8..487a7eb171 100644 --- a/deal.II/base/include/base/exceptions.h +++ b/deal.II/base/include/base/exceptions.h @@ -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 << ")");