]> https://gitweb.dealii.org/ - dealii.git/commitdiff
new exception
authorGuido Kanschat <dr.guido.kanschat@gmail.com>
Tue, 25 May 2004 08:20:07 +0000 (08:20 +0000)
committerGuido Kanschat <dr.guido.kanschat@gmail.com>
Tue, 25 May 2004 08:20:07 +0000 (08:20 +0000)
git-svn-id: https://svn.dealii.org/trunk@9309 0785d39b-7218-0410-832d-ea1e28bc413d

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

index c9dca52ff570128b8769f2980f6037e19d90169e..b01cf5d72eeed64eae307a7c098b4e602338d164 100644 (file)
@@ -926,7 +926,18 @@ namespace StandardExceptions
   DeclException3 (ExcIndexRange, int, int, int,
                  << "Index " << arg1 << " is not in ["
                  << arg2 << "," << arg3 << "[");
-  
+
+                                  /**
+                                   * This exception indicates that
+                                   * the first argument should be an
+                                   * integer multiple of the second,
+                                   * but is not.
+                                   */
+  DeclException2 (ExcNotMultiple, int, int,
+                 << "Division " << arg1
+                 << " by " << arg2
+                 << " has remainder different from zero");
+                 
                                   /**
                                    * This exception is thrown if the
                                    * iterator you incremented or

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.