diff options
Diffstat (limited to 'guava/src/com/google/common/util/concurrent/Uninterruptibles.java')
-rw-r--r-- | guava/src/com/google/common/util/concurrent/Uninterruptibles.java | 12 |
1 files changed, 0 insertions, 12 deletions
diff --git a/guava/src/com/google/common/util/concurrent/Uninterruptibles.java b/guava/src/com/google/common/util/concurrent/Uninterruptibles.java index 79d7598..89f30b8 100644 --- a/guava/src/com/google/common/util/concurrent/Uninterruptibles.java +++ b/guava/src/com/google/common/util/concurrent/Uninterruptibles.java @@ -122,9 +122,6 @@ public final class Uninterruptibles { * <p>If instead, you wish to treat {@link InterruptedException} uniformly * with other exceptions, see {@link Futures#get(Future, Class) Futures.get} * or {@link Futures#makeChecked}. - * - * @throws ExecutionException if the computation threw an exception - * @throws CancellationException if the computation was cancelled */ public static <V> V getUninterruptibly(Future<V> future) throws ExecutionException { @@ -152,10 +149,6 @@ public final class Uninterruptibles { * <p>If instead, you wish to treat {@link InterruptedException} uniformly * with other exceptions, see {@link Futures#get(Future, Class) Futures.get} * or {@link Futures#makeChecked}. - * - * @throws ExecutionException if the computation threw an exception - * @throws CancellationException if the computation was cancelled - * @throws TimeoutException if the wait timed out */ public static <V> V getUninterruptibly( Future<V> future, long timeout, TimeUnit unit) @@ -233,11 +226,6 @@ public final class Uninterruptibles { /** * Invokes {@code queue.}{@link BlockingQueue#put(Object) put(element)} * uninterruptibly. - * - * @throws ClassCastException if the class of the specified element prevents - * it from being added to the given queue - * @throws IllegalArgumentException if some property of the specified element - * prevents it from being added to the given queue */ public static <E> void putUninterruptibly(BlockingQueue<E> queue, E element) { boolean interrupted = false; |