private static class Futures.ImmediateFailedFuture<V> extends Futures.ImmediateFuture<V>
Modifier and Type | Field and Description |
---|---|
private java.lang.Throwable |
thrown |
Constructor and Description |
---|
ImmediateFailedFuture(java.lang.Throwable thrown) |
Modifier and Type | Method and Description |
---|---|
V |
get() |
addListener, cancel, get, isCancelled, isDone
public V get() throws java.util.concurrent.ExecutionException
get
in interface java.util.concurrent.Future<V>
get
in class Futures.ImmediateFuture<V>
java.util.concurrent.ExecutionException