From: Wolfgang Bangerth Date: Tue, 21 Jan 2014 07:34:12 +0000 (+0000) Subject: Improve error message. X-Git-Tag: v8.2.0-rc1~990 X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=d2783642b50da69e5783e260bd30980d0402a71d;p=dealii.git Improve error message. git-svn-id: https://svn.dealii.org/trunk@32274 0785d39b-7218-0410-832d-ea1e28bc413d --- diff --git a/deal.II/source/grid/tria.cc b/deal.II/source/grid/tria.cc index 9dc8aa8edf..1795ace4fe 100644 --- a/deal.II/source/grid/tria.cc +++ b/deal.II/source/grid/tria.cc @@ -9467,7 +9467,9 @@ Triangulation (const Triangulation &other) check_for_distorted_cells(other.check_for_distorted_cells), vertex_to_boundary_id_map_1d (0) { - Assert (false, ExcInternalError()); + Assert (false, ExcMessage ("You are not allowed to call this constructor " + "because copying Triangulation objects is not " + "allowed. Use Triangulation::copy_from() instead.")); }