From 9514a39912831174ddfce3304a3d37f43ef9a7f0 Mon Sep 17 00:00:00 2001 From: bangerth Date: Wed, 20 Mar 2013 02:03:51 +0000 Subject: [PATCH] Link to the FAQ page to provide a better explanation of what the ExcInUse 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 | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/deal.II/include/deal.II/base/subscriptor.h b/deal.II/include/deal.II/base/subscriptor.h index 257347cdaa..0345b95575 100644 --- a/deal.II/include/deal.II/base/subscriptor.h +++ b/deal.II/include/deal.II/base/subscriptor.h @@ -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 -- 2.39.5