// ---------------------------------------------------------------------
//
-// 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.
//
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.");
//@}
/**