]> https://gitweb.dealii.org/ - dealii.git/commitdiff
Improve exception message.
authorWolfgang Bangerth <bangerth@math.tamu.edu>
Fri, 20 Nov 2015 22:38:47 +0000 (16:38 -0600)
committerWolfgang Bangerth <bangerth@math.tamu.edu>
Fri, 20 Nov 2015 22:38:47 +0000 (16:38 -0600)
include/deal.II/fe/fe.h

index a2ca2fc8bc0e344129489f694c4ad6c2b66fbe3e..df7976616dd974c56eef1f9b36330b94d9773005 100644 (file)
@@ -1911,7 +1911,12 @@ public:
    *
    * @ingroup Exceptions
    */
-  DeclException0 (ExcUnitShapeValuesDoNotExist);
+  DeclExceptionMsg (ExcUnitShapeValuesDoNotExist,
+                    "You are trying to access the values or derivatives of shape functions "
+                    "on the reference cell of an element that does not define its shape "
+                    "functions through mapping from the reference cell. Consequently, "
+                    "you cannot ask for shape function values or derivatives on the "
+                    "reference cell.");
 
   /**
    * Attempt to access support points of a finite element that is not

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.