HomeSort by relevance Sort by last modified time
    Searched refs:throwable (Results 1 - 25 of 1581) sorted by null

1 2 3 4 5 6 7 8 91011>>

  /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);
  /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/main/java/org/mockito/internal/stubbing/answers/
ThrowsException.java 20 private final Throwable throwable; field in class:ThrowsException
23 public ThrowsException(Throwable throwable) {
24 this.throwable = throwable;
27 public Object answer(InvocationOnMock invocation) throws Throwable {
28 if (MockUtil.isMock(throwable)) {
29 throw throwable;
31 Throwable t = throwable.fillInStackTrace()
    [all...]
  /external/mockito/src/main/java/org/mockito/internal/exceptions/
ExceptionIncludingMockitoWarnings.java 10 public ExceptionIncludingMockitoWarnings(String message, Throwable throwable) {
11 super(message, throwable);
  /frameworks/opt/telephony/src/java/com/android/internal/telephony/uicc/euicc/
EuiccCardException.java 30 public EuiccCardException(String message, Throwable throwable) {
31 super(message, throwable);
  /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/junit-params/src/main/java/junitparams/internal/
DeferredErrorFrameworkMethod.java 10 * Encapsulates a {@link Throwable} that was caught during initialization so that it can be
15 private final Throwable throwable; field in class:DeferredErrorFrameworkMethod
18 Throwable throwable) {
20 this.throwable = throwable;
27 public void evaluate() throws Throwable {
28 throw throwable;
36 // throw the encapsulated Throwable immediately
    [all...]
  /external/mockito/src/main/java/org/mockito/internal/handler/
NotifiedMethodInvocationReport.java 19 private final Throwable throwable; field in class:NotifiedMethodInvocationReport
32 this.throwable = null;
40 * @param throwable Tha throwable raised by the method invocation
42 public NotifiedMethodInvocationReport(Invocation invocation, Throwable throwable) {
45 this.throwable = throwable;
56 public Throwable getThrowable()
    [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/main/java/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);
  /cts/tests/accessibilityservice/src/android/accessibilityservice/cts/utils/
RunOnMainUtils.java 34 AtomicReference<Throwable> throwable = new AtomicReference<>(null); local
38 } catch (Throwable e) {
39 throwable.set(e);
42 if (throwable.get() != null) {
43 throw new RuntimeException(throwable.get());
  /external/desugar/java/com/google/devtools/common/options/
OptionsParsingException.java 34 public OptionsParsingException(String message, Throwable throwable) {
35 this(message, null, throwable);
38 public OptionsParsingException(String message, String argument, Throwable throwable) {
39 super(message, throwable);

Completed in 1394 milliseconds

1 2 3 4 5 6 7 8 91011>>