Home
last modified time | relevance | path

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

/external/okhttp/okhttp/src/main/java/com/squareup/okhttp/internal/
DOptionalMethod.java89 Throwable targetException = e.getTargetException(); in invokeOptionalWithoutCheckedException()
90 if (targetException instanceof RuntimeException) { in invokeOptionalWithoutCheckedException()
91 throw (RuntimeException) targetException; in invokeOptionalWithoutCheckedException()
94 error.initCause(targetException); in invokeOptionalWithoutCheckedException()
132 Throwable targetException = e.getTargetException(); in invokeWithoutCheckedException()
133 if (targetException instanceof RuntimeException) { in invokeWithoutCheckedException()
134 throw (RuntimeException) targetException; in invokeWithoutCheckedException()
137 error.initCause(targetException); in invokeWithoutCheckedException()
/external/okhttp/repackaged/okhttp/src/main/java/com/android/okhttp/internal/
DOptionalMethod.java90 Throwable targetException = e.getTargetException(); in invokeOptionalWithoutCheckedException()
91 if (targetException instanceof RuntimeException) { in invokeOptionalWithoutCheckedException()
92 throw (RuntimeException) targetException; in invokeOptionalWithoutCheckedException()
95 error.initCause(targetException); in invokeOptionalWithoutCheckedException()
133 Throwable targetException = e.getTargetException(); in invokeWithoutCheckedException()
134 if (targetException instanceof RuntimeException) { in invokeWithoutCheckedException()
135 throw (RuntimeException) targetException; in invokeWithoutCheckedException()
138 error.initCause(targetException); in invokeWithoutCheckedException()
/external/grpc-grpc-java/okhttp/third_party/okhttp/main/java/io/grpc/okhttp/internal/
DOptionalMethod.java94 Throwable targetException = e.getTargetException(); in invokeOptionalWithoutCheckedException()
95 if (targetException instanceof RuntimeException) { in invokeOptionalWithoutCheckedException()
96 throw (RuntimeException) targetException; in invokeOptionalWithoutCheckedException()
99 error.initCause(targetException); in invokeOptionalWithoutCheckedException()
137 Throwable targetException = e.getTargetException(); in invokeWithoutCheckedException()
138 if (targetException instanceof RuntimeException) { in invokeWithoutCheckedException()
139 throw (RuntimeException) targetException; in invokeWithoutCheckedException()
142 error.initCause(targetException); in invokeWithoutCheckedException()
/external/junit/src/main/java/org/junit/internal/runners/model/
DEachTestNotifier.java19 public void addFailure(Throwable targetException) { in addFailure() argument
20 if (targetException instanceof MultipleFailureException) { in addFailure()
21 addMultipleFailureException((MultipleFailureException) targetException); in addFailure()
23 notifier.fireTestFailure(new Failure(description, targetException)); in addFailure()
/external/guava/guava-testlib/src/com/google/common/collect/testing/
DAbstractIteratorTester.java449 RuntimeException targetException = null; in internalExecuteAndCompare() local
454 targetException = e; in internalExecuteAndCompare()
458 if (method == NEXT_METHOD && targetException == null in internalExecuteAndCompare()
494 if (targetException != null) { in internalExecuteAndCompare()
495 Helpers.fail(targetException, in internalExecuteAndCompare()
508 if (targetException == null) { in internalExecuteAndCompare()
516 referenceException.assertPermitted(targetException); in internalExecuteAndCompare()
/external/junit/src/main/java/org/junit/experimental/theories/internal/
DParameterizedAssertionError.java10 public ParameterizedAssertionError(Throwable targetException, in ParameterizedAssertionError() argument
13 this.initCause(targetException); in ParameterizedAssertionError()
/external/junit/src/main/java/org/junit/internal/runners/
DClassRoadie.java37 protected void addFailure(Throwable targetException) { in addFailure() argument
38 notifier.fireTestFailure(new Failure(description, targetException)); in addFailure()