From: bangerth Date: Tue, 21 Jan 2014 07:34:12 +0000 (+0000) Subject: Improve error message. X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=ee088c6394e23163efa3f7fb791ca035d65e753d;p=dealii-svn.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.")); }