From 4be87b1fcc31a13bbf31020715ed6359ba9e107e Mon Sep 17 00:00:00 2001 From: Wolfgang Bangerth Date: Wed, 18 Mar 2015 18:38:38 -0500 Subject: [PATCH] Clarify an exception message. --- include/deal.II/base/thread_management.h | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) 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: /** -- 2.39.5