From: Peter Munch Date: Tue, 20 Apr 2021 05:50:49 +0000 (+0200) Subject: Add error message to GridIn::ExcNoTriangulationSelected X-Git-Tag: v9.3.0-rc1~205^2 X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=00f3aa1288485d0ba8461e450ac1d58c5f258559;p=dealii.git Add error message to GridIn::ExcNoTriangulationSelected --- diff --git a/include/deal.II/grid/grid_in.h b/include/deal.II/grid/grid_in.h index 31d658530e..494fa93d26 100644 --- a/include/deal.II/grid/grid_in.h +++ b/include/deal.II/grid/grid_in.h @@ -754,7 +754,12 @@ public: /** * Exception */ - DeclException0(ExcNoTriangulationSelected); + DeclExceptionMsg(ExcNoTriangulationSelected, + "No Triangulation has been attached to this GridIn object " + "so that nothing can be filled during any read function " + "calls. Please pass a reference to the Triangulation tria " + "to be filled in the constructor GridIn(tria) or attach " + "it with the function call GridIn::attach_triangulation()."); /** * Exception */