From: Wolfgang Bangerth Date: Wed, 18 Mar 2015 23:38:38 +0000 (-0500) Subject: Clarify an exception message. X-Git-Tag: v8.3.0-rc1~360^2~3 X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=4be87b1fcc31a13bbf31020715ed6359ba9e107e;p=dealii.git Clarify an exception message. --- diff --git a/include/deal.II/base/thread_management.h b/include/deal.II/base/thread_management.h index 3a819e0b25..9c73e1820f 100644 --- a/include/deal.II/base/thread_management.h +++ b/include/deal.II/base/thread_management.h @@ -219,8 +219,8 @@ namespace Threads */ DeclException1 (ExcBarrierSizeNotUseful, int, - << "In single-thread mode, other barrier sizes than 1 are not " - << "useful. You gave " << arg1); + << "In single-thread mode, barrier sizes other than 1 are not " + << "useful. You gave " << arg1 << "."); //@} }; @@ -3058,7 +3058,10 @@ namespace Threads /** * Exception */ - DeclException0 (ExcNoTask); + DeclExceptionMsg (ExcNoTask, + "The current object is not associated with a task that " + "can be joined. It may have been detached, or you " + "may have already joined it in the past."); //@} private: /**