Searched refs:propagateIfInstanceOf (Results 1 – 10 of 10) sorted by relevance
/external/guava/guava/src/com/google/common/base/ |
D | Throwables.java | 60 public static <X extends Throwable> void propagateIfInstanceOf( in propagateIfInstanceOf() method in Throwables 83 propagateIfInstanceOf(throwable, Error.class); in propagateIfPossible() 84 propagateIfInstanceOf(throwable, RuntimeException.class); in propagateIfPossible() 108 propagateIfInstanceOf(throwable, declaredType); in propagateIfPossible() 130 propagateIfInstanceOf(throwable, declaredType1); in propagateIfPossible()
|
/external/guava/guava-tests/test/com/google/common/base/ |
D | ThrowablesTest.java | 349 Throwables.propagateIfInstanceOf(t, SomeCheckedException.class); in testPropagateIfInstanceOf_NoneThrown() 365 Throwables.propagateIfInstanceOf(t, SomeCheckedException.class); in testPropagateIfInstanceOf_DeclaredThrown() 386 Throwables.propagateIfInstanceOf(t, SomeCheckedException.class); in testPropagateIfInstanceOf_UncheckedThrown() 407 Throwables.propagateIfInstanceOf(t, SomeCheckedException.class); in testPropagateIfInstanceOf_UndeclaredThrown() 423 Throwables.propagateIfInstanceOf(null, SomeCheckedException.class); in testPropageIfInstanceOf_null()
|
/external/caliper/caliper/src/main/java/com/google/caliper/runner/ |
D | BenchmarkClass.java | 20 import static com.google.common.base.Throwables.propagateIfInstanceOf; 156 propagateIfInstanceOf(e.getCause(), SkipThisScenarioException.class); in callSetUp() 170 propagateIfInstanceOf(e.getCause(), SkipThisScenarioException.class); in callTearDown()
|
D | AllocationInstrument.java | 21 import static com.google.common.base.Throwables.propagateIfInstanceOf; 106 propagateIfInstanceOf(userException, SkipThisScenarioException.class); in dryRun() 147 propagateIfInstanceOf(userException, SkipThisScenarioException.class); in dryRun()
|
D | ArbitraryMeasurementInstrument.java | 20 import static com.google.common.base.Throwables.propagateIfInstanceOf; 98 propagateIfInstanceOf(userException, SkipThisScenarioException.class); in dryRun()
|
D | RuntimeInstrument.java | 26 import static com.google.common.base.Throwables.propagateIfInstanceOf; 146 propagateIfInstanceOf(userException, SkipThisScenarioException.class); in dryRun() 186 propagateIfInstanceOf(userException, SkipThisScenarioException.class); in dryRun()
|
D | TrialRunLoop.java | 176 Throwables.propagateIfInstanceOf(e, TrialFailureException.class); in call()
|
/external/guice/extensions/servlet/src/com/google/inject/servlet/ |
D | FilterChainInvocation.java | 100 Throwables.propagateIfInstanceOf(t, ServletException.class); in doFilter() 101 Throwables.propagateIfInstanceOf(t, IOException.class); in doFilter()
|
/external/guava/guava/src/com/google/common/collect/ |
D | MapMaker.java | 888 Throwables.propagateIfInstanceOf(cause, ComputationException.class); in get()
|
/external/guava/guava-tests/test/com/google/common/util/concurrent/ |
D | FuturesTest.java | 19 import static com.google.common.base.Throwables.propagateIfInstanceOf; 1331 propagateIfInstanceOf(e.getCause(), ExecutionException.class); 1332 propagateIfInstanceOf(e.getCause(), CancellationException.class);
|