From: Ralf Hartmann Date: Thu, 15 Mar 2001 19:09:52 +0000 (+0000) Subject: New ExcImpossibleInDim. X-Git-Tag: v8.0.0~19546 X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=6135fbbd351c79d92e187bf336d6358a32c3cdd3;p=dealii.git New ExcImpossibleInDim. git-svn-id: https://svn.dealii.org/trunk@4226 0785d39b-7218-0410-832d-ea1e28bc413d --- diff --git a/deal.II/base/include/base/exceptions.h b/deal.II/base/include/base/exceptions.h index db0800f1c7..411dd9992e 100644 --- a/deal.II/base/include/base/exceptions.h +++ b/deal.II/base/include/base/exceptions.h @@ -734,6 +734,16 @@ namespace StandardExceptions */ DeclException0 (ExcNotInitialized); + /** + * This exception is raised if a + * functionality is not possible in + * the given dimension. Mostly used + * to throw function calls in 1d. + */ + DeclException1 (ExcImpossibleInDim, + int, + << "Impossible in " << arg1 << "d."); + /** * This exception is raised * whenever the sizes of two