]> https://gitweb.dealii.org/ - dealii.git/commitdiff
Make errors more descriptive
authorDaniel Arndt <daniel.arndt@iwr.uni-heidelberg.de>
Sat, 18 Mar 2017 14:41:28 +0000 (15:41 +0100)
committerDaniel Arndt <daniel.arndt@iwr.uni-heidelberg.de>
Sat, 18 Mar 2017 14:41:28 +0000 (15:41 +0100)
include/deal.II/lac/exceptions.h

index cff07a0e124b2287c74723b83083bc26a23f3c0c..ee51a42b381dd81ab10a0fda9cd180b18f802de7 100644 (file)
@@ -30,7 +30,8 @@ namespace LACExceptions
   /**
    * This function only works for quadratic matrices.
    */
-  DeclException0 (ExcNotQuadratic);
+  DeclExceptionMsg (ExcNotQuadratic,
+                    "This function only works for quadratic objects!");
 
   /**
    * The operation cannot be finished since the matrix is singular.

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.