]> https://gitweb.dealii.org/ - dealii.git/commitdiff
Augment an exception message. This doesn't solve the problem, but it
authorWolfgang Bangerth <bangerth@math.tamu.edu>
Thu, 14 Nov 2013 20:06:27 +0000 (20:06 +0000)
committerWolfgang Bangerth <bangerth@math.tamu.edu>
Thu, 14 Nov 2013 20:06:27 +0000 (20:06 +0000)
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

index 93d765a67071ac2145f96913c1ff29c77c897eca..a740d4488e14bfe61a958b1393590ddfd78bfe5e 100644 (file)
@@ -1306,8 +1306,12 @@ void DoFHandler<dim,spacedim>::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
+                          + ")."));
 }
 
 

In the beginning the Universe was created. This has made a lot of people very angry and has been widely regarded as a bad move.

Douglas Adams


Typeset in Trocchi and Trocchi Bold Sans Serif.