From e1641c080feb309b3a8da9bcd15cc4ff69c9391d Mon Sep 17 00:00:00 2001 From: guido Date: Wed, 7 Jul 1999 16:34:08 +0000 Subject: [PATCH] new global exception ExcDimensionMismatch git-svn-id: https://svn.dealii.org/trunk@1550 0785d39b-7218-0410-832d-ea1e28bc413d --- deal.II/base/include/base/exceptions.h | 2 ++ 1 file changed, 2 insertions(+) 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 << ")"); -- 2.39.5