From 7971755da49f5f006cf5922ccd9106ba8dafc8eb Mon Sep 17 00:00:00 2001 From: Guido Kanschat Date: Wed, 23 Mar 2005 00:45:56 +0000 Subject: [PATCH] ExcZero git-svn-id: https://svn.dealii.org/trunk@10206 0785d39b-7218-0410-832d-ea1e28bc413d --- deal.II/base/include/base/exceptions.h | 13 +++++++++++-- 1 file changed, 11 insertions(+), 2 deletions(-) diff --git a/deal.II/base/include/base/exceptions.h b/deal.II/base/include/base/exceptions.h index ff5f22a09d..ef95d85bdd 100644 --- a/deal.II/base/include/base/exceptions.h +++ b/deal.II/base/include/base/exceptions.h @@ -884,7 +884,8 @@ namespace StandardExceptions DeclException0 (ExcNotInitialized); /** - * Exception + * The object is in a state not + * suitable for this operation. */ DeclException0 (ExcInvalidState); @@ -902,6 +903,12 @@ namespace StandardExceptions int, << "Impossible in " << arg1 << "d."); + /** + * A number is zero, but it should + * not be here. + */ + DeclException0(ExcZero); + /** * This exception is raised * whenever the sizes of two @@ -917,7 +924,9 @@ namespace StandardExceptions << "Dimension " << arg1 << " not equal to " << arg2); /** - * Exception. + * The first dimension should be + * either equal to the second or + * the third, but it is neither. */ DeclException3 (ExcDimensionMismatch2, int, int, int, -- 2.39.5