Home
last modified time | relevance | path

Searched refs:ThrowingFuture (Results 1 – 1 of 1) sorted by relevance

/external/guava/guava-tests/test/com/google/common/util/concurrent/
DFutureCallbackTest.java86 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 FutureCallbackTest
170 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.ThrowingFuture
183 public ThrowingFuture(RuntimeException e) { in ThrowingFuture() method in FutureCallbackTest.ThrowingFuture