small comment added
authorfhanik <fhanik@13f79535-47bb-0310-9956-ffa450edef68>
Thu, 22 Mar 2007 02:20:42 +0000 (02:20 +0000)
committerfhanik <fhanik@13f79535-47bb-0310-9956-ffa450edef68>
Thu, 22 Mar 2007 02:20:42 +0000 (02:20 +0000)
git-svn-id: https://svn.apache.org/repos/asf/tomcat/tc6.0.x/trunk@521085 13f79535-47bb-0310-9956-ffa450edef68

java/org/apache/catalina/core/StandardThreadExecutor.java

index 53a4d92..47fe186 100644 (file)
@@ -180,7 +180,7 @@ public class StandardThreadExecutor implements Executor {
         }\r
         \r
         public boolean force(Runnable o) {\r
-            if ( parent.isShutdown() ) throw new RejectedExecutionException();\r
+            if ( parent.isShutdown() ) throw new RejectedExecutionException("Executor not running, can't force a command into the queue");\r
             return super.offer(o); //forces the item onto the queue, to be used if the task is rejected\r
         }\r
 \r