From 4af8407105e50c7fd1f65226a5332dc95ec7f5f2 Mon Sep 17 00:00:00 2001 From: Wolfgang Bangerth Date: Fri, 20 Nov 2015 16:38:47 -0600 Subject: [PATCH] Improve exception message. --- include/deal.II/fe/fe.h | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) 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 -- 2.39.5