From: bangerth Date: Thu, 14 Nov 2013 20:06:27 +0000 (+0000) Subject: Augment an exception message. This doesn't solve the problem, but it X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=4ddddbc145f5588b5ca137a52ff11ac305cc7ed2;p=dealii-svn.git Augment an exception message. This doesn't solve the problem, but it gets us closer to it... git-svn-id: https://svn.dealii.org/trunk@31658 0785d39b-7218-0410-832d-ea1e28bc413d --- diff --git a/deal.II/include/deal.II/dofs/dof_handler.h b/deal.II/include/deal.II/dofs/dof_handler.h index 93d765a670..a740d4488e 100644 --- a/deal.II/include/deal.II/dofs/dof_handler.h +++ b/deal.II/include/deal.II/dofs/dof_handler.h @@ -1306,8 +1306,12 @@ void DoFHandler::load (Archive &ar, ExcMessage ("The finite element associated with this DoFHandler does not match " "the one that was associated with the DoFHandler previously stored.")); AssertThrow (policy_name == typeid(*policy).name(), - ExcMessage ("The policy associated with this DoFHandler does not match " - "the one that was associated with the DoFHandler previously stored.")); + ExcMessage (std::string ("The policy currently associated with this DoFHandler (") + + typeid(*policy).name() + +std::string(") does not match the one that was associated with the " + "DoFHandler previously stored (") + + policy_name + + ").")); }