]> https://gitweb.dealii.org/ - dealii-svn.git/commitdiff
New ExcImpossibleInDim.
authorhartmann <hartmann@0785d39b-7218-0410-832d-ea1e28bc413d>
Thu, 15 Mar 2001 19:09:52 +0000 (19:09 +0000)
committerhartmann <hartmann@0785d39b-7218-0410-832d-ea1e28bc413d>
Thu, 15 Mar 2001 19:09:52 +0000 (19:09 +0000)
git-svn-id: https://svn.dealii.org/trunk@4226 0785d39b-7218-0410-832d-ea1e28bc413d

deal.II/base/include/base/exceptions.h

index db0800f1c7d628beafcf784b9a8d688fd35e86e9..411dd9992ea0c16a702fa715a0c2e56fc138ee60 100644 (file)
@@ -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

In the beginning the Universe was created. This has made a lot of people very angry and has been widely regarded as a bad move.

Douglas Adams


Typeset in Trocchi and Trocchi Bold Sans Serif.