]> https://gitweb.dealii.org/ - dealii.git/commitdiff
Exception from several LAC classes moved here
authorGuido Kanschat <dr.guido.kanschat@gmail.com>
Tue, 18 May 2004 11:30:52 +0000 (11:30 +0000)
committerGuido Kanschat <dr.guido.kanschat@gmail.com>
Tue, 18 May 2004 11:30:52 +0000 (11:30 +0000)
git-svn-id: https://svn.dealii.org/trunk@9251 0785d39b-7218-0410-832d-ea1e28bc413d

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

index 64e47cb56029c67de9fe353f4747c76ae73d509d..c9dca52ff570128b8769f2980f6037e19d90169e 100644 (file)
@@ -968,6 +968,19 @@ namespace StandardExceptions
                  << arg1 << " switch. You should either use an\n"
                  << "alternative function, or configure again without\n"
                  << "this switch and recompile the library.");
+
+                                  /**
+                                   * Some of our numerical classes
+                                   * allow for setting alll entries
+                                   * to zero using the assignment
+                                   * operator <tt>=</tt>.
+                                   *
+                                   * In many cases, this assignment
+                                   * operator makes sense <b>only</b>
+                                   * for the argument zero. In other
+                                   * cases, this exception is thrown.
+                                   */
+  DeclException0 (ExcScalarAssignmentOnlyForZeroValue);
 }
 
 

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.