]> https://gitweb.dealii.org/ - dealii.git/commitdiff
Clarify an exception message.
authorWolfgang Bangerth <bangerth@math.tamu.edu>
Wed, 18 Mar 2015 23:38:38 +0000 (18:38 -0500)
committerWolfgang Bangerth <bangerth@math.tamu.edu>
Wed, 18 Mar 2015 23:38:38 +0000 (18:38 -0500)
include/deal.II/base/thread_management.h

index 3a819e0b256408406b3da343e8dc1d473eef1c1d..9c73e1820f8160f04dd8a7a8e13859fb38db177d 100644 (file)
@@ -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:
     /**

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.