From 5c56dcb8a76459e74026bb756d16ebe4714f77b8 Mon Sep 17 00:00:00 2001 From: Wolfgang Bangerth Date: Thu, 14 Nov 2013 20:06:27 +0000 Subject: [PATCH] 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 --- deal.II/include/deal.II/dofs/dof_handler.h | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) 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 + + ").")); } -- 2.39.5