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

1 2 3 4 5 6 7 8 91011>>

  /libcore/harmony-tests/src/test/java/org/apache/harmony/tests/org/xml/sax/
SAXExceptionTest.java 32 assertNull(e.getException());
42 assertEquals(c, e.getException());
48 assertEquals(c, e.getException());
54 assertNull(e.getException());
62 assertNull(e.getException());
68 assertNull(e.getException());
78 assertEquals(c, e.getException());
84 assertNull(e.getException());
SAXParseExceptionTest.java 50 assertEquals(c, e.getException());
61 assertEquals(c, e.getException());
72 assertEquals(c, e.getException());
83 assertNull(e.getException());
102 assertNull(e.getException());
113 assertNull(e.getException());
124 assertNull(e.getException());
140 assertEquals(c, e.getException());
151 assertEquals(c, e.getException());
162 assertEquals(c, e.getException());
    [all...]
  /external/mockito/src/test/java/org/mockito/internal/junit/util/
JUnitFailureHackerTest.java 31 assertEquals(ExceptionIncludingMockitoWarnings.class, failure.getException().getClass());
32 assertEquals(actualExc, failure.getException().getCause());
33 Assertions.assertThat(actualExc.getStackTrace()).isEqualTo(failure.getException().getStackTrace());
44 assertThat(failure.getException()).hasMessageContaining("unused stubbing blah");
56 assertEquals(ex, failure.getException());
68 assertEquals(ex, failure.getException());
79 System.out.println(failure.getException());
  /external/junit/src/main/java/org/junit/runner/notification/
Failure.java 58 public Throwable getException() {
75 getException().printStackTrace(writer);
85 return getException().getMessage();
  /external/ant-glob/src/org/apache/tools/ant/
BuildException.java 76 public Throwable getException() {
  /external/apache-xml/src/main/java/org/apache/xml/serializer/utils/
WrappedRuntimeException.java 77 public Exception getException()
  /external/apache-xml/src/main/java/org/apache/xml/utils/
WrappedRuntimeException.java 70 public Exception getException()
  /libcore/ojluni/src/main/java/java/lang/
ClassNotFoundException.java 43 * construction time and accessed via the {@link #getException()} method is
110 public Throwable getException() {
ExceptionInInitializerError.java 37 * the {@link #getException()} method is now known as the <i>cause</i>,
73 * later retrieval by the {@link #getException()} method. The detail
111 public Throwable getException() {
  /external/mockito/src/test/java/org/mockitoutil/
JUnitResultAssert.java 41 if (!expectedException.isInstance(f.getException())) {
42 throw new AssertionError("Incorrect failure type, expected: " + expectedException + ", actual: " + f.getException().getClass().getSimpleName() + "\n" +
68 if (!expectedExceptions[i].isInstance(f.getException())) {
71 + " but is of type: " + f.getException().getClass().getSimpleName()
86 assertEquals(filterLineNo(exceptionMessage), filterLineNo(f.getException().getMessage()));
95 if (methodName.equals(f.getDescription().getMethodName()) && expectedException.isInstance(f.getException())) {
  /tools/loganalysis/tests/src/com/android/loganalysis/parser/
JavaCrashParserTest.java 43 assertEquals("java.lang.Exception", jc.getException());
60 assertEquals("java.lang.Exception", jc.getException());
79 assertEquals("java.lang.Exception", jc.getException());
104 assertEquals("java.lang.Exception", jc.getException());
123 assertEquals("java.lang.Exception", jc.getException());
145 assertEquals("java.lang.Exception", jc.getException());
  /libcore/harmony-tests/src/test/java/org/apache/harmony/tests/javax/xml/parsers/
FactoryConfigurationErrorTest.java 76 assertNull(fce.getException());
78 assertNull(fce.getException());
81 assertEquals(e, fce.getException());
84 assertEquals(npe, fce.getException());
  /libcore/luni/src/test/java/libcore/java/security/
PrivilegedActionExceptionTest.java 30 * PrivilegedActionException's constructor argument may be rethrown by getException() or
39 assertSame(e, pae.getException());
  /libcore/ojluni/src/main/java/java/security/
PrivilegedActionException.java 39 * {@code getException} method. In effect, an
46 * accessed via the {@link #getException()} method is now known as the
89 public Exception getException() {
  /tools/tradefederation/core/src/com/android/tradefed/util/net/
HttpHelper.java 200 } else if (runnable.getException() instanceof IOException) {
201 throw (IOException) runnable.getException();
202 } else if (runnable.getException() instanceof DataSizeException) {
203 throw (DataSizeException) runnable.getException();
204 } else if (runnable.getException() instanceof RuntimeException) {
205 throw (RuntimeException) runnable.getException();
220 } else if (runnable.getException() instanceof IOException) {
221 throw (IOException) runnable.getException();
222 } else if (runnable.getException() instanceof RuntimeException) {
223 throw (RuntimeException) runnable.getException();
    [all...]
  /frameworks/layoutlib/remote/tests/src/
RemoteBridgeTest.java 93 if (result.getResult().getException() != null) {
94 result.getResult().getException().printStackTrace();
120 if (result.getResult().getException() != null) {
121 result.getResult().getException().printStackTrace();
136 if (result.getResult().getException() != null) {
137 result.getResult().getException().printStackTrace();
  /libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/lang/
ClassNotFoundExceptionTest.java 55 assertEquals("Wrong Exception", in, e.getException());
ExceptionInInitializerErrorTest.java 49 assertSame(npe, e.getException());
  /libcore/luni/src/main/java/javax/xml/parsers/
FactoryConfigurationError.java 116 public Exception getException () {
  /libcore/luni/src/main/java/javax/xml/transform/
TransformerFactoryConfigurationError.java 110 public Exception getException() {
  /libcore/luni/src/main/java/org/xml/sax/
SAXException.java 117 public Exception getException ()
  /external/annotation-tools/asmx/src/org/objectweb/asm/xml/
SAXAdapter.java 77 throw new RuntimeException(ex.getException());
85 // ex.getException().printStackTrace();
  /external/apache-xml/src/main/java/org/apache/xpath/
XPathException.java 200 exception = se.getException();
235 exception = se.getException();
301 exception = se.getException();
320 * Overrides javax.xml.transform.TransformerException.getException().
324 public Throwable getException()
  /external/junit-params/src/test/java/junitparams/
MultipleParameterProvidersTest.java 37 assertEquals(IllegalStateException.class, testFailure.getException().getClass());
  /tools/loganalysis/src/com/android/loganalysis/item/
JavaCrashItem.java 48 public String getException() {

Completed in 621 milliseconds

1 2 3 4 5 6 7 8 91011>>