Home
last modified time | relevance | path

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

12345

/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.java103 if (result != null && result.getException() != null) { in addFailureListener()
104 listener.onResult(result.getException()); in addFailureListener()
133 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/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/lottie/lottie/src/test/java/com/airbnb/lottie/
DLottieCompositionFactoryTest.java43 assertNull(result.getException()); in testLoadJsonString()
50 assertNotNull(result.getException()); in testLoadInvalidJsonString()
58 assertNull(result.getException()); in testLoadJsonReader()
66 assertNotNull(result.getException()); in testLoadInvalidJsonReader()
73 assertEquals(FileNotFoundException.class, result.getException().getClass()); in testLoadInvalidAssetName()
80 assertNotNull(result.getException()); in testNonJsonAssetFile()
87 assertNotNull(result.getException()); in testLoadInvalidRawResName()
/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/clang/test/Analysis/
Dexceptions.mm10 id getException(); function
13 @throw getException();
/external/llvm-project/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()
DWrappedRuntimeException.java70 public Exception getException() in getException() method in WrappedRuntimeException
/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/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/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/ant-glob/src/org/apache/tools/ant/
DBuildException.java76 public Throwable getException() { in getException() method in BuildException
/external/apache-xml/src/main/java/org/apache/xml/serializer/utils/
DWrappedRuntimeException.java77 public Exception getException() in getException() method in WrappedRuntimeException
/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()
/external/junit-params/src/test/java/junitparams/
DMultipleParameterProvidersTest.java37 assertEquals(IllegalStateException.class, testFailure.getException().getClass()); in testWithValueAndMethodProvidersThrowsIllegalStateException()
/external/apache-xml/src/main/java/org/apache/xalan/extensions/
DObjectFactory.java148 Exception getException() { in getException() method in ObjectFactory.ConfigurationError

12345