]> https://gitweb.dealii.org/ - dealii.git/commitdiff
ExcZero
authorGuido Kanschat <dr.guido.kanschat@gmail.com>
Wed, 23 Mar 2005 00:45:56 +0000 (00:45 +0000)
committerGuido Kanschat <dr.guido.kanschat@gmail.com>
Wed, 23 Mar 2005 00:45:56 +0000 (00:45 +0000)
git-svn-id: https://svn.dealii.org/trunk@10206 0785d39b-7218-0410-832d-ea1e28bc413d

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

index ff5f22a09d592d1ded5531fe89438a3477da7469..ef95d85bdd86ba3d0d64a1d6a165a4da71cad2fc 100644 (file)
@@ -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,

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.