ViewVC Help
View File | Revision Log | Show Annotations | Download File | Root Listing
root/jsr166/jsr166/src/main/java/util/concurrent/Executors.java
(Generate patch)

Comparing jsr166/src/main/java/util/concurrent/Executors.java (file contents):
Revision 1.18 by dl, Mon Sep 1 14:00:25 2003 UTC vs.
Revision 1.19 by dl, Sat Sep 13 18:51:11 2003 UTC

# Line 202 | Line 202 | public class Executors {
202       * @param task the task to submit
203       * @throws RejectedExecutionException if task cannot be scheduled
204       * for execution
205 +     * @throws ExecutionException if the task encountered an exception
206 +     * while executing
207       */
208      public static void invoke(Executor executor, Runnable task)
209              throws ExecutionException, InterruptedException {
# Line 221 | Line 223 | public class Executors {
223       * for execution
224       * @throws InterruptedException if interrupted while waiting for
225       * completion
226 +     * @throws ExecutionException if the task encountered an exception
227 +     * while executing
228       */
229      public static <T> T invoke(Executor executor, Callable<T> task)
230              throws ExecutionException, InterruptedException {

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines