diff --git a/jmock-2.5.1/src/org/jmock/lib/concurrent/DeterministicScheduler.java b/jmock-2.5.1/src/org/jmock/lib/concurrent/DeterministicScheduler.java index 6dbc020..0dce41c 100644 --- a/jmock-2.5.1/src/org/jmock/lib/concurrent/DeterministicScheduler.java +++ b/jmock-2.5.1/src/org/jmock/lib/concurrent/DeterministicScheduler.java @@ -110,21 +110,21 @@ public class DeterministicScheduler implements ScheduledExecutorService { throw blockingOperationsNotSupported(); } - public List> invokeAll(Collection> tasks) throws InterruptedException { + public List> invokeAll(Collection> tasks) throws InterruptedException { throw blockingOperationsNotSupported(); } - public List> invokeAll(Collection> tasks, long timeout, TimeUnit unit) throws InterruptedException { + public List> invokeAll(Collection> tasks, long timeout, TimeUnit unit) throws InterruptedException { throw blockingOperationsNotSupported(); } - public T invokeAny(Collection> tasks) + public T invokeAny(Collection> tasks) throws InterruptedException, ExecutionException { throw blockingOperationsNotSupported(); } - public T invokeAny(Collection> tasks, long timeout, TimeUnit unit) + public T invokeAny(Collection> tasks, long timeout, TimeUnit unit) throws InterruptedException, ExecutionException, TimeoutException { throw blockingOperationsNotSupported();