From: Wolfgang Bangerth Date: Wed, 18 Mar 2015 23:37:33 +0000 (-0500) Subject: Clarify a couple of exception messages. X-Git-Tag: v8.3.0-rc1~360^2~7 X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=397bbcb48f43a084dfbe448c16936df8a047ab0e;p=dealii.git Clarify a couple of exception messages. --- diff --git a/include/deal.II/base/subscriptor.h b/include/deal.II/base/subscriptor.h index 7f1015f62b..27944ec816 100644 --- a/include/deal.II/base/subscriptor.h +++ b/include/deal.II/base/subscriptor.h @@ -1,6 +1,6 @@ // --------------------------------------------------------------------- // -// Copyright (C) 1998 - 2014 by the deal.II authors +// Copyright (C) 1998 - 2015 by the deal.II authors // // This file is part of the deal.II library. // @@ -119,19 +119,22 @@ public: DeclException3(ExcInUse, int, char *, std::string &, << "Object of class " << arg2 - << " is still used by " << arg1 << " other objects.\n" - << "(Additional information: " << arg3 << ")\n" - << "Note the entry in the Frequently Asked Questions of " + << " is still used by " << arg1 << " other objects." + << "\n\n" + << "(Additional information: " << arg3 << ")\n\n" + << "See 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 lot more information on what this error means and " + << "how to fix programs in which it happens."); /** * A subscriber with the identification string given to * Subscriptor::unsubscribe() did not subscribe to the object. */ DeclException2(ExcNoSubscriber, char *, char *, - << "No subscriber with identifier \"" << arg2 - << "\" did subscribe to this object of class " << arg1); + << "No subscriber with identifier <" << arg2 + << "> subscribes to this object of class " << arg1 + << ". Consequently, it cannot be unsubscribed."); //@} /**