/external/easymock/src/org/easymock/internal/ |
ThrowableWrapper.java | 18 public class ThrowableWrapper extends Throwable {
22 private final Throwable throwable;
field in class:ThrowableWrapper 24 public ThrowableWrapper(final Throwable throwable) {
25 this.throwable = throwable;
28 public Throwable getThrowable() {
29 return throwable;
|
ILegacyMethods.java | 21 void setDefaultThrowable(Throwable throwable);
|
/frameworks/base/core/java/android/view/ |
InflateException.java | 28 public InflateException(String detailMessage, Throwable throwable) { 29 super(detailMessage, throwable); 36 public InflateException(Throwable throwable) { 37 super(throwable);
|
/external/guice/core/src/com/google/inject/internal/ |
Exceptions.java | 34 public static RuntimeException rethrowCause(Throwable throwable) { 35 Throwable cause = throwable; 43 public static RuntimeException rethrow(Throwable throwable) { 44 if(throwable instanceof RuntimeException) { 45 throw (RuntimeException)throwable; 46 } else if(throwable instanceof Error) { 47 throw (Error)throwable; [all...] |
/external/guava/guava/src/com/google/common/base/ |
Throwables.java | 32 * Static utility methods pertaining to instances of {@link Throwable}. 46 * Propagates {@code throwable} exactly as-is, if and only if it is an 53 * } catch (Throwable t) { 60 public static <X extends Throwable> void propagateIfInstanceOf( 61 @Nullable Throwable throwable, Class<X> declaredType) throws X { 63 if (throwable != null && declaredType.isInstance(throwable)) { 64 throw declaredType.cast(throwable); 69 * Propagates {@code throwable} exactly as-is, if and only if it is a [all...] |
/external/droiddriver/src/io/appium/droiddriver/exceptions/ |
DroidDriverException.java | 30 public DroidDriverException(Throwable cause) { 34 public DroidDriverException(String message, Throwable cause) { 40 * Propagates {@code throwable} as-is if it is an instance of {@link RuntimeException} or {@link 51 * } catch (Throwable t) { 57 * @param throwable the Throwable to propagate 61 public static DroidDriverException propagate(Throwable throwable) { 62 if (throwable instanceof RuntimeException) { 63 throw (RuntimeException) throwable; [all...] |
UnrecoverableException.java | 32 public UnrecoverableException(Throwable throwable) { 33 super(throwable);
|
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/lang/reflect/ |
UndeclaredThrowableExceptionTests.java | 10 private static EOFException throwable = new EOFException(); field in class:UndeclaredThrowableExceptionTests 17 throwable); 18 assertSame("Wrong cause returned", throwable, ute.getCause()); 26 throwable); 27 assertSame("Wrong undeclared throwable returned", throwable, ute 32 * java.lang.reflect.UndeclaredThrowableException#UndeclaredThrowableException(java.lang.Throwable) 36 throwable); 37 assertEquals("Wrong cause returned", throwable, e.getCause()); 38 assertEquals("Wrong throwable returned", throwable, [all...] |
/external/apache-harmony/jdwp/src/test/java/org/apache/harmony/jpda/tests/framework/ |
TestErrorException.java | 58 * @param throwable exception to enwrap 60 public TestErrorException(String message, Throwable throwable) { 61 super(message, throwable); 67 * @param throwable exception to enwrap 69 public TestErrorException(Throwable throwable) { 70 super(throwable);
|
/external/jetty/src/java/org/eclipse/jetty/security/ |
ServerAuthException.java | 38 public ServerAuthException(String s, Throwable throwable) 40 super(s, throwable); 43 public ServerAuthException(Throwable throwable) 45 super(throwable);
|
/frameworks/base/cmds/uiautomator/library/core-src/com/android/uiautomator/core/ |
UiObjectNotFoundException.java | 41 public UiObjectNotFoundException(String detailMessage, Throwable throwable) { 42 super(detailMessage, throwable); 48 public UiObjectNotFoundException(Throwable throwable) { 49 super(throwable);
|
/platform_testing/libraries/aupt-lib/src/android/support/test/aupt/ |
AuptTerminator.java | 30 public AuptTerminator(String detailMessage, Throwable throwable) { 31 super(detailMessage, throwable); 38 public AuptTerminator(Throwable throwable) { 39 super(throwable);
|
/libcore/luni/src/test/java/libcore/java/lang/ |
ThrowableTest.java | 28 public synchronized Throwable fillInStackTrace() { 45 } catch (Throwable th) { 64 private static class SuppressionsThrowable extends Throwable { 67 public SuppressionsThrowable(String detailMessage, Throwable throwable, 69 super(detailMessage, throwable, enableSuppression, writableStackTrace); 74 Throwable throwable = new Throwable(); local 75 assertSuppressed(throwable); 85 Throwable throwable = new Throwable(); local 94 Throwable throwable = new Throwable(); local 106 Throwable throwable = new SuppressionsThrowable("foo", null, false, true); local 115 Throwable throwable = new Throwable(); local 124 Throwable throwable = new Throwable(); local 133 Throwable throwable = newThrowable("Throwable", "A", "B"); local 146 Throwable throwable = newThrowable("Throwable", "A", "B"); local 169 Throwable throwable = newThrowable("Throwable", "A", "B"); local 207 Throwable throwable = new Throwable(); local 231 Throwable throwable = newThrowable("Throwable", "A", "B"); local 259 Throwable throwable = newThrowable("Serialized", "A", "B"); local 274 Throwable throwable = new SuppressionsThrowable("foo", null, false, true); local 303 Throwable throwable = new SuppressionsThrowable("foo", null, true, true); local [all...] |
/external/mockito/src/org/mockito/internal/exceptions/ |
ExceptionIncludingMockitoWarnings.java | 10 public ExceptionIncludingMockitoWarnings(String message, Throwable throwable) {
11 super(message, throwable);
|
/external/mockito/src/org/mockito/internal/stubbing/answers/ |
ThrowsException.java | 17 private final Throwable throwable;
field in class:ThrowsException 20 public ThrowsException(Throwable throwable) {
21 this.throwable = throwable;
24 public Object answer(InvocationOnMock invocation) throws Throwable {
25 if (new MockUtil().isMock(throwable)) {
26 throw throwable;
28 Throwable t = throwable.fillInStackTrace(); [all...] |
/libcore/ojluni/src/main/java/java/lang/ |
NoClassDefFoundError.java | 71 * @param throwable 74 private NoClassDefFoundError(String detailMessage, Throwable throwable) { 75 super(detailMessage, throwable);
|
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/network/ |
AuthException.java | 28 public AuthException(Throwable throwable) { 29 super(throwable);
|
/external/libgdx/gdx/src/com/badlogic/gdx/assets/ |
AssetErrorListener.java | 20 public void error (AssetDescriptor asset, Throwable throwable);
|
/external/mockito/src/org/mockito/internal/listeners/ |
NotifiedMethodInvocationReport.java | 17 private Throwable throwable;
field in class:NotifiedMethodInvocationReport 37 * @param throwable Tha throwable raised by the method invocation
39 public NotifiedMethodInvocationReport(Invocation invocation, Throwable throwable) {
41 this.throwable = throwable;
52 public Throwable getThrowable() {
53 return throwable;
[all...] |
/libcore/ojluni/src/main/native/ |
Throwable.c | 27 * Implementation of class Throwable 50 Throwable_fillInStackTrace(JNIEnv *env, jobject throwable, int dummy) 52 JVM_FillInStackTrace(env, throwable); 53 return throwable; 57 Throwable_getStackTraceDepth(JNIEnv *env, jobject throwable) 59 return JVM_GetStackTraceDepth(env, throwable); 64 jobject throwable, jint index) 66 return JVM_GetStackTraceElement(env, throwable, index); 69 NATIVE_METHOD(Throwable, fillInStackTrace, "(I)Ljava/lang/Throwable;"), [all...] |
/external/robolectric/v1/src/main/java/com/xtremelabs/robolectric/shadows/ |
ShadowLog.java | 22 public static void e(String tag, String msg, Throwable throwable) { 23 addLog(Log.ERROR, tag, msg, throwable); 32 public static void d(String tag, String msg, Throwable throwable) { 33 addLog(Log.DEBUG, tag, msg, throwable); 42 public static void i(String tag, String msg, Throwable throwable) { 43 addLog(Log.INFO, tag, msg, throwable); 52 public static void v(String tag, String msg, Throwable throwable) 124 public final Throwable throwable; field in class:ShadowLog.LogItem [all...] |
/external/slf4j/slf4j-api/src/main/java/org/slf4j/helpers/ |
FormattingTuple.java | 37 private Throwable throwable; field in class:FormattingTuple 44 public FormattingTuple(String message, Object[] argArray, Throwable throwable) { 46 this.throwable = throwable; 47 if (throwable == null) { 72 public Throwable getThrowable() { 73 return throwable;
|
/external/mockito/src/org/mockito/internal/exceptions/stacktrace/ |
ConditionalStackTraceFilter.java | 19 public void filter(Throwable throwable) { 23 StackTraceElement[] filtered = filter.filter(throwable.getStackTrace(), true); 24 throwable.setStackTrace(filtered);
|
/external/guava/guava/src/com/google/common/util/concurrent/ |
SettableFuture.java | 23 * or {@link #setException(Throwable)} call. It may also be cancelled. 63 * @param throwable the exception the future should hold. 67 public boolean setException(Throwable throwable) { 68 return super.setException(throwable);
|
/frameworks/base/core/tests/coretests/src/android/animation/ |
FutureWaiter.java | 24 * also exposes the protected {@link AbstractFuture#setException(Throwable)} method. 44 public boolean setException(Throwable throwable) { 45 return super.setException(throwable);
|