From 6135fbbd351c79d92e187bf336d6358a32c3cdd3 Mon Sep 17 00:00:00 2001 From: Ralf Hartmann Date: Thu, 15 Mar 2001 19:09:52 +0000 Subject: [PATCH] New ExcImpossibleInDim. git-svn-id: https://svn.dealii.org/trunk@4226 0785d39b-7218-0410-832d-ea1e28bc413d --- deal.II/base/include/base/exceptions.h | 10 ++++++++++ 1 file changed, 10 insertions(+) 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 -- 2.39.5