]> https://gitweb.dealii.org/ - dealii-svn.git/commitdiff
Link to the FAQ page to provide a better explanation of what the ExcInUse
authorbangerth <bangerth@0785d39b-7218-0410-832d-ea1e28bc413d>
Wed, 20 Mar 2013 02:03:51 +0000 (02:03 +0000)
committerbangerth <bangerth@0785d39b-7218-0410-832d-ea1e28bc413d>
Wed, 20 Mar 2013 02:03:51 +0000 (02:03 +0000)
error message actually means. I think every single one of my students has hit
this this semester and not a single one has found the solution herself).

git-svn-id: https://svn.dealii.org/trunk@28947 0785d39b-7218-0410-832d-ea1e28bc413d

deal.II/include/deal.II/base/subscriptor.h

index 257347cdaa05668ddc8bf34ab33a21aa90e326a3..0345b95575096f0c5d53a690761768fa389b9d9c 100644 (file)
@@ -1,7 +1,7 @@
 //---------------------------------------------------------------------------
 //    $Id$
 //
-//    Copyright (C) 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2010, 2012 by the deal.II authors
+//    Copyright (C) 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2010, 2012, 2013 by the deal.II authors
 //
 //    This file is subject to QPL and may not be  distributed
 //    without copyright and license information. Please refer
@@ -130,8 +130,11 @@ public:
   DeclException3(ExcInUse,
                  int, char *, std::string &,
                  << "Object of class " << arg2
-                 << " is still used by " << arg1 << " other objects."
-                 << arg3);
+                 << " is still used by " << arg1 << " other objects.\n"
+                << "(Additional information: " << arg3 << ")\n"
+                << "Note the entry in the Frequently Asked Questions of "
+                << "deal.II (linked to from http://www.dealii.org/) for "
+                << "more information on what this error means.");
 
   /**
    * A subscriber with the

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.