Home
last modified time | relevance | path

Searched refs:getException (Results 1 – 25 of 88) sorted by relevance

1234

/external/lottie/lottie/src/main/java/com/airbnb/lottie/
DLottieResult.java31 @Nullable public Throwable getException() { in getException() method in LottieResult
46 if (getException() != null && that.getException() != null) { in equals()
47 return getException().toString().equals(getException().toString()); in equals()
53 return Arrays.hashCode(new Object[]{getValue(), getException()}); in hashCode()
DLottieTask.java108 if (result != null && result.getException() != null) { in addFailureListener()
109 listener.onResult(result.getException()); in addFailureListener()
138 notifyFailureListeners(result.getException()); in notifyListeners()
/external/mockito/src/test/java/org/mockito/internal/junit/util/
DJUnitFailureHackerTest.java31 assertEquals(ExceptionIncludingMockitoWarnings.class, failure.getException().getClass()); in shouldReplaceException()
32 assertEquals(actualExc, failure.getException().getCause()); in shouldReplaceException()
33 …Assertions.assertThat(actualExc.getStackTrace()).isEqualTo(failure.getException().getStackTrace()); in shouldReplaceException()
44 assertThat(failure.getException()).hasMessageContaining("unused stubbing blah"); in shouldAppendWarning()
56 assertEquals(ex, failure.getException()); in shouldNotAppendWhenNoWarnings()
68 assertEquals(ex, failure.getException()); in shouldNotAppendWhenNullWarnings()
79 System.out.println(failure.getException()); in shouldPrintTheWarningSoICanSeeIt()
/external/lottie/lottie/src/test/java/com/airbnb/lottie/
DLottieCompositionFactoryTest.java44 assertNull(result.getException()); in testLoadJsonString()
51 assertNotNull(result.getException()); in testLoadInvalidJsonString()
59 assertNull(result.getException()); in testLoadJsonReader()
67 assertNotNull(result.getException()); in testLoadInvalidJsonReader()
74 assertEquals(FileNotFoundException.class, result.getException().getClass()); in testLoadInvalidAssetName()
81 assertNotNull(result.getException()); in testNonJsonAssetFile()
88 assertNotNull(result.getException()); in testLoadInvalidRawResName()
/external/mockito/src/test/java/org/mockitoutil/
DJUnitResultAssert.java41 if (!expectedException.isInstance(f.getException())) { in fails()
42 …rect failure type, expected: " + expectedException + ", actual: " + f.getException().getClass().ge… in fails()
68 if (!expectedExceptions[i].isInstance(f.getException())) { in failsExactly()
71 + " but is of type: " + f.getException().getClass().getSimpleName() in failsExactly()
86 assertEquals(filterLineNo(exceptionMessage), filterLineNo(f.getException().getMessage())); in fails()
95 …ame.equals(f.getDescription().getMethodName()) && expectedException.isInstance(f.getException())) { in fails()
/external/junit/src/main/java/org/junit/runner/notification/
DFailure.java57 public Throwable getException() { in getException() method in Failure
70 return Throwables.getStacktrace(getException()); in getTrace()
79 return Throwables.getTrimmedStackTrace(getException()); in getTrimmedTrace()
88 return getException().getMessage(); in getMessage()
/external/truth/core/src/test/java/com/google/common/truth/
DExpectFailureNonRuleTest.java52 assertThat(reportedFailure.get(0).getException()) in testExpect_userThrowExceptionInSubject_shouldPropagate()
55 assertThat(reportedFailure.get(1).getException()) in testExpect_userThrowExceptionInSubject_shouldPropagate()
76 assertThat(reportedFailure.get(0).getException()) in testExpect_userThrowExceptionAfterSubject_shouldPropagate()
79 assertThat(reportedFailure.get(1).getException()) in testExpect_userThrowExceptionAfterSubject_shouldPropagate()
/external/apache-xml/src/main/java/org/apache/xpath/
DXPathException.java200 exception = se.getException(); in printStackTrace()
235 exception = se.getException(); in getMessage()
301 exception = se.getException(); in printStackTrace()
324 public Throwable getException() in getException() method in XPathException
/external/tensorflow/tensorflow/lite/java/src/main/java/org/tensorflow/lite/
DTensorFlowLite.java197 public Exception getException() { in getException() method in TensorFlowLite.PossiblyAvailableRuntime
257 exception = RuntimeFromSystem.TFLITE.getException(); in getFactory()
273 exception = RuntimeFromApplication.TFLITE.getException(); in getFactory()
275 exception.addSuppressed(RuntimeFromApplication.TFLITE.getException()); in getFactory()
/external/clang/test/Analysis/
Dexceptions.mm10 id getException(); function
13 @throw getException();
/external/apache-xml/src/main/java/org/apache/xml/utils/
DDefaultErrorHandler.java301 cause = ((SAXException)cause).getException(); in ensureLocationSet()
341 cause = ((WrappedRuntimeException)cause).getException(); in printLocation()
343 cause = ((SAXException)cause).getException(); in printLocation()
/external/mobly-snippet-lib/third_party/sl4a/src/main/java/com/google/android/mobly/snippet/util/
DMainThread.java58 public Throwable getException() { in getException() method in MainThread.CallableWrapper
78 Throwable exception = wrapper.getException(); in runCallableWrapper()
/external/icu/icu4j/tools/misc/src/com/ibm/icu/dev/tool/layout/
DScriptData.java106 private String getException(String icu) in getException() method in ScriptData
199 return getException(fScriptTags[value - fMinScript]); in getTag()
217 String tag = getException(fScriptTags[value - fMinScript]); in makeTag()
/external/kotlinx.coroutines/kotlinx-coroutines-core/jvm/test/exceptions/
DExceptions.kt50 fun getException(): Throwable = synchronized(this) { in <lambda>() method
63 return handler.getException() in captureExceptionsRun()
/external/cronet/testing/android/junit/java/src/org/chromium/testing/local/
DGtestLogger.java36 if (f.getException() != null) { in testFailed()
37 f.getException().printStackTrace(mOutputStream); in testFailed()
/external/mockito/src/test/java/org/mockitousage/junitrunner/
DVerboseMockitoRunnerTest.java79 Throwable exception = result.getFailures().get(0).getException(); in shouldContainWarnings()
88 assertEquals("boo", result.getFailures().get(0).getException().getMessage()); in shouldNotContainWarnings()
/external/oj-libjdwp/src/share/classes/com/sun/tools/jdi/
DInvokableTypeImpl.java55 ObjectReferenceImpl getException(); in getException() method
128 if (ret.getException() != null) { in invokeMethod()
129 throw new InvocationException(ret.getException()); in invokeMethod()
/external/testng/src/main/java/org/testng/junit/
DJUnit4TestRunner.java122 tr.setThrowable(failure.getException());
139 tr.setThrowable(failure.getException());
215 final Throwable exception = failure.getException();
/external/mockito/src/test/java/org/mockitousage/matchers/
DInvalidUseOfMatchersTest.java113 assertThat(run.getFailures().get(0).getException()).isInstanceOf(NullPointerException.class) in should_mention_matcher_when_misuse_detected()
115 …assertThat(run.getFailures().get(1).getException()).isInstanceOf(InvalidUseOfMatchersException.cla… in should_mention_matcher_when_misuse_detected()
/external/cronet/components/cronet/android/test/javatests/src/org/chromium/net/
DRequestFinishedInfoTest.java248 assertNotNull(requestInfo.getException()); in testRequestFinishedListenerFailedRequest()
250 ((NetworkException) requestInfo.getException()).getErrorCode()); in testRequestFinishedListenerFailedRequest()
487 assertNotNull(requestInfo.getException()); in testOrderFailedRequestJava()
489 requestInfo.getException().getMessage()); in testOrderFailedRequestJava()
515 assertNotNull(requestInfo.getException()); in testOrderFailedRequestNative()
517 ((NetworkException) requestInfo.getException()).getErrorCode()); in testOrderFailedRequestNative()
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/stringprep/
DPunycodeReference.java254 getException(rc); in encode()
258 private static void getException(int rc) in getException() method in PunycodeReference
294 getException(rc); in decode()
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/stringprep/
DPunycodeReference.java251 getException(rc); in encode()
255 private static void getException(int rc) in getException() method in PunycodeReference
291 getException(rc); in decode()
/external/apache-xml/src/main/java/org/apache/xalan/templates/
DFuncDocument.java294 ((org.apache.xml.utils.WrappedRuntimeException) throwable).getException(); in getDoc()
333 e = spe2.getException(); in getDoc()
336 e = ((org.apache.xml.utils.WrappedRuntimeException) e).getException(); in getDoc()
/external/apache-commons-lang/src/test/java/org/apache/commons/lang3/concurrent/
DMultiBackgroundInitializerTest.java126 assertNull(res.getException(key), "Got an exception"); in checkInitialize()
237 assertThrows(NoSuchElementException.class, () -> res.getException("unknown")); in testResultGetExceptionUnknown()
297 final ConcurrentException cex = res.getException(CHILD_INIT); in testInitializeEx()
/external/apache-xml/src/main/java/org/apache/xml/dtm/
DDTMException.java74 public Throwable getException() { in getException() method in DTMException
336 Throwable exception = getException(); in printStackTrace()

1234