/external/guava/guava-tests/test/com/google/common/base/ |
ThrowablesTest.java | 19 import static com.google.common.base.Throwables.getStackTraceAsString; 32 * Unit test for {@link Throwables}. 44 Throwables.propagateIfPossible(t); 60 Throwables.propagateIfPossible(t); 80 Throwables.propagateIfPossible(t); 103 Throwables.propagateIfPossible(t, SomeCheckedException.class); 120 Throwables.propagateIfPossible(t, SomeCheckedException.class); 140 Throwables.propagateIfPossible(t, SomeCheckedException.class); 161 Throwables.propagateIfPossible(t, SomeCheckedException.class); 183 Throwables.propagateIfPossible(t, SomeCheckedException.class [all...] |
/external/guava/guava/src/com/google/common/base/ |
Throwables.java | 38 public final class Throwables { 39 private Throwables() {} 50 * Throwables.propagateIfInstanceOf(t, IOException.class); 51 * Throwables.propagateIfInstanceOf(t, SQLException.class); 52 * throw Throwables.propagate(t); 73 * Throwables.propagateIfPossible(t); 93 * Throwables.propagateIfPossible(t, OtherException.class); 145 * throw Throwables.propagate(t); 165 * Throwables.getRootCause(e).getMessage()); 186 * Iterables.filter(Throwables.getCausalChain(e), IOException.class)) [all...] |
package-info.java | 59 * <li>{@link com.google.common.base.Throwables}
|
/external/mockito/src/org/mockito/internal/stubbing/ |
BaseStubbing.java | 34 public OngoingStubbing<T> thenThrow(Throwable... throwables) {
35 if (throwables == null) {
39 for (Throwable t: throwables) {
|
/external/junit/src/org/junit/runners/model/ |
InitializationError.java | 34 * Returns one or more Throwables that led to this initialization error.
|
MultipleFailureException.java | 36 * Asserts that a list of throwables is empty. If it isn't empty, 38 * multiple throwables in the list) or the first element in the list
|
/external/guava/guava/src/com/google/common/util/concurrent/ |
AbstractIdleService.java | 20 import com.google.common.base.Throwables; 47 throw Throwables.propagate(t); 61 throw Throwables.propagate(t);
|
AbstractExecutionThreadService.java | 20 import com.google.common.base.Throwables; 68 throw Throwables.propagate(t);
|
AbstractScheduledService.java | 21 import com.google.common.base.Throwables; 178 throw Throwables.propagate(t); 196 throw Throwables.propagate(t); 225 throw Throwables.propagate(t);
|
Monitor.java | 22 import com.google.common.base.Throwables; 799 throw Throwables.propagate(throwable); 837 throw Throwables.propagate(throwable); 887 throw Throwables.propagate(throwable); 924 throw Throwables.propagate(throwable);
|
/external/guava/guava/src/com/google/common/hash/ |
AbstractNonStreamingHashFunction.java | 6 import com.google.common.base.Throwables; 52 throw Throwables.propagate(e);
|
/external/mockito/src/org/mockito/ |
BDDMockito.java | 41 * Stubbing voids with throwables:
94 BDDMyOngoingStubbing<T> willThrow(Throwable... throwables);
154 public BDDMyOngoingStubbing<T> willThrow(Throwable... throwables) {
155 return new BDDOngoingStubbingImpl<T>(mockitoOngoingStubbing.thenThrow(throwables));
|
/external/mockito/src/org/mockito/stubbing/ |
OngoingStubbing.java | 74 * If throwables contain a checked exception then it has to
77 * You can specify throwables to be thrown for consecutive calls.
84 * @param throwables to be thrown on method invocation
88 OngoingStubbing<T> thenThrow(Throwable... throwables);
|
/libcore/dalvik/src/main/java/dalvik/system/ |
DalvikLogHandler.java | 46 // TODO: support messages with throwables?
|
/libcore/luni/src/main/java/libcore/util/ |
SneakyThrow.java | 24 * throwables that are of a known range of types.
|
/external/guava/guava-tests/test/com/google/common/util/concurrent/ |
AbstractExecutionThreadServiceTest.java | 19 import com.google.common.base.Throwables; 147 throw Throwables.propagate(e); 265 throw Throwables.propagate(e);
|
MoreExecutorsTest.java | 25 import com.google.common.base.Throwables; 91 + (throwable == null ? null : Throwables.getStackTraceAsString(throwable)), 201 + (throwable == null ? null : Throwables.getStackTraceAsString(throwable)),
|
/libcore/luni/src/main/java/java/lang/ |
Throwable.java | 64 * Throwables suppressed by this throwable. Null when suppressed exceptions 309 * This is the empty string for all but suppressed throwables. 398 * Adds {@code throwable} to the list of throwables suppressed by this. The 423 * Returns the throwables suppressed by this.
|
/external/easymock/src/org/easymock/ |
MockControl.java | 543 * see "Convenience Methods for Throwables" in the EasyMock documentation.
555 * explanation, see "Convenience Methods for Throwables" in the EasyMock
571 * explanation, see "Convenience Methods for Throwables" in the EasyMock
585 * explanation, see "Convenience Methods for Throwables" in the EasyMock
616 * explanation, see "Convenience Methods for Throwables" in the EasyMock
|
/external/guava/guava/src/com/google/common/collect/ |
ComputingConcurrentHashMap.java | 22 import com.google.common.base.Throwables; 396 Throwables.propagateIfInstanceOf(cause, ComputationException.class);
|
/external/guava/guava/src/com/google/common/base/internal/ |
Finalizer.java | 134 * Cleans up a single reference. Catches and logs all throwables.
|
/external/guava/guava/src/com/google/common/eventbus/ |
EventBus.java | 22 import com.google.common.base.Throwables; 356 throw Throwables.propagate(e.getCause());
|
/dalvik/vm/alloc/ |
Alloc.cpp | 154 * Pre-allocate some throwables. These need to be explicitly added
|
/dalvik/vm/reflect/ |
Proxy.cpp | 314 * Allocate some storage to hold the lists of throwables. We need 368 * throwables (or have no common throwables with duplicate methods) will 526 /* keep track of our throwables */ [all...] |
/external/apache-harmony/luni/src/test/api/common/org/apache/harmony/luni/tests/java/io/ |
SerializationStressTest5.java | 235 // Must be using xload, ignore missing Throwables
|