]> https://gitweb.dealii.org/ - dealii.git/commitdiff
Clarify a couple of exception messages.
authorWolfgang Bangerth <bangerth@math.tamu.edu>
Wed, 18 Mar 2015 23:37:33 +0000 (18:37 -0500)
committerWolfgang Bangerth <bangerth@math.tamu.edu>
Wed, 18 Mar 2015 23:37:33 +0000 (18:37 -0500)
include/deal.II/base/subscriptor.h

index 7f1015f62bd9dfdf6ede6549c8c3ab1be80101aa..27944ec816655b680ae2d3bf9f8fd162f64b13c5 100644 (file)
@@ -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.");
   //@}
 
   /**

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.