From: Wolfgang Bangerth Date: Fri, 20 Nov 2015 22:38:47 +0000 (-0600) Subject: Improve exception message. X-Git-Tag: v8.4.0-rc2~212^2~3 X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=4af8407105e50c7fd1f65226a5332dc95ec7f5f2;p=dealii.git Improve exception message. --- diff --git a/include/deal.II/fe/fe.h b/include/deal.II/fe/fe.h index a2ca2fc8bc..df7976616d 100644 --- a/include/deal.II/fe/fe.h +++ b/include/deal.II/fe/fe.h @@ -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