Searched refs:ThrowingFuture (Results 1 – 1 of 1) sorted by relevance
86 ListenableFuture<String> f = ThrowingFuture.throwingError(error); in testThrowErrorFromGet()93 ListenableFuture<String> f = ThrowingFuture.throwingRuntimeException(e); in testRuntimeExeceptionFromGet()165 private static class ThrowingFuture<V> implements ListenableFuture<V> { class in FutureCallbackTest170 return new ThrowingFuture<V>(error); in throwingError()175 return new ThrowingFuture<V>(e); in throwingRuntimeException()178 private ThrowingFuture(Error error) { in ThrowingFuture() method in FutureCallbackTest.ThrowingFuture183 public ThrowingFuture(RuntimeException e) { in ThrowingFuture() method in FutureCallbackTest.ThrowingFuture