Home
last modified time | relevance | path

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

12

/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/org/xml/sax/
DSAXExceptionTest.java32 assertNull(e.getException()); in testSAXParseException()
42 assertEquals(c, e.getException()); in testSAXException_String_Exception()
48 assertEquals(c, e.getException()); in testSAXException_String_Exception()
54 assertNull(e.getException()); in testSAXException_String_Exception()
62 assertNull(e.getException()); in testSAXException_String()
68 assertNull(e.getException()); in testSAXException_String()
78 assertEquals(c, e.getException()); in testSAXException_Exception()
84 assertNull(e.getException()); in testSAXException_Exception()
DSAXParseExceptionTest.java50 assertEquals(c, e.getException()); in testSAXParseException_String_Locator_Exception()
61 assertEquals(c, e.getException()); in testSAXParseException_String_Locator_Exception()
72 assertEquals(c, e.getException()); in testSAXParseException_String_Locator_Exception()
83 assertNull(e.getException()); in testSAXParseException_String_Locator_Exception()
102 assertNull(e.getException()); in testSAXParseException_String_Locator()
113 assertNull(e.getException()); in testSAXParseException_String_Locator()
124 assertNull(e.getException()); in testSAXParseException_String_Locator()
140 assertEquals(c, e.getException()); in testSAXParseException_String_String_String_int_int_Exception()
151 assertEquals(c, e.getException()); in testSAXParseException_String_String_String_int_int_Exception()
162 assertEquals(c, e.getException()); in testSAXParseException_String_String_String_int_int_Exception()
[all …]
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/javax/xml/parsers/
DFactoryConfigurationErrorTest.java76 assertNull(fce.getException()); in test_getException()
78 assertNull(fce.getException()); in test_getException()
81 assertEquals(e, fce.getException()); in test_getException()
84 assertEquals(npe, fce.getException()); in test_getException()
/libcore/ojluni/src/main/java/java/lang/
DExceptionInInitializerError.java111 public Throwable getException() { in getException() method in ExceptionInInitializerError
DClassNotFoundException.java110 public Throwable getException() { in getException() method in ClassNotFoundException
/libcore/ojluni/src/main/java/java/security/
DPrivilegedActionException.java89 public Exception getException() { in getException() method in PrivilegedActionException
DSigner.java150 throw (KeyManagementException) pae.getException(); in setKeyPair()
/libcore/jsr166-tests/src/test/java/jsr166/
DForkJoinTaskTest.java63 assertNull(a.getException()); in testInvokeOnPool()
72 assertNull(a.getException()); in testInvokeOnPool()
82 assertNull(a.getException()); in checkNotDone()
101 assertNull(a.getException()); in checkCompletedNormally()
135 assertTrue(a.getException() instanceof CancellationException);
172 assertSame(t.getClass(), a.getException().getClass());
538 assertTrue(f.getException() instanceof FJException);
539 checkCompletedAbnormally(f, f.getException());
611 assertTrue(f.getException() instanceof FJException);
612 checkCompletedAbnormally(f, f.getException());
[all …]
DRecursiveActionTest.java67 assertNull(a.getException()); in checkNotDone()
98 assertNull(a.getException()); in checkCompletedNormally()
116 assertTrue(a.getException() instanceof CancellationException); in checkCancelled()
143 assertSame(t.getClass(), a.getException().getClass()); in checkCompletedAbnormally()
328 checkCompletedAbnormally(f, f.getException()); in testJoinIgnoresInterrupts()
422 assertTrue(f.getException() instanceof FJException); in testJoinIgnoresInterruptsOutsideForkJoinPool()
423 checkCompletedAbnormally(f, f.getException()); in testJoinIgnoresInterruptsOutsideForkJoinPool()
543 assertTrue(f.getException() instanceof FJException); in testAbnormalQuietlyInvoke()
544 checkCompletedAbnormally(f, f.getException()); in testAbnormalQuietlyInvoke()
616 assertTrue(f.getException() instanceof FJException); in testAbnormalForkQuietlyJoin()
[all …]
DForkJoinPool8Test.java78 assertNull(a.getException()); in checkNotDone()
109 assertNull(a.getException()); in checkCompletedNormally()
127 assertTrue(a.getException() instanceof CancellationException); in checkCancelled()
154 assertSame(t.getClass(), a.getException().getClass()); in checkCompletedAbnormally()
339 checkCompletedAbnormally(f, f.getException()); in testJoinIgnoresInterrupts()
432 assertTrue(f.getException() instanceof FJException); in testAbnormalQuietlyInvoke()
433 checkCompletedAbnormally(f, f.getException()); in testAbnormalQuietlyInvoke()
505 assertTrue(f.getException() instanceof FJException); in testAbnormalForkQuietlyJoin()
506 checkCompletedAbnormally(f, f.getException()); in testAbnormalForkQuietlyJoin()
1100 assertTrue(f.getException() instanceof FJException); in testAbnormalQuietlyInvokeCC()
[all …]
DForkJoinTask8Test.java86 assertNull(a.getException()); in testInvokeOnPool()
95 assertNull(a.getException()); in testInvokeOnPool()
105 assertNull(a.getException()); in checkNotDone()
126 assertNull(a.getException()); in checkCompletedNormally()
162 assertSame(t.getClass(), a.getException().getClass());
580 assertTrue(f.getException() instanceof FJException);
581 checkCompletedAbnormally(f, f.getException());
677 assertTrue(f.getException() instanceof FJException);
678 checkCompletedAbnormally(f, f.getException());
1164 assertNull(f.getException());
DCountedCompleterTest.java61 assertNull(a.getException()); in testInvokeOnPool()
70 assertNull(a.getException()); in testInvokeOnPool()
80 assertNull(a.getException()); in checkNotDone()
95 assertNull(a.getException()); in checkCompletedNormally()
129 assertTrue(a.getException() instanceof CancellationException);
166 assertSame(t.getClass(), a.getException().getClass());
773 assertTrue(f.getException() instanceof FJException); in testAbnormalQuietlyInvoke()
774 checkCompletedAbnormally(f, f.getException()); in testAbnormalQuietlyInvoke()
846 assertTrue(f.getException() instanceof FJException); in testAbnormalForkQuietlyJoin()
847 checkCompletedAbnormally(f, f.getException()); in testAbnormalForkQuietlyJoin()
[all …]
DRecursiveTaskTest.java64 assertNull(a.getException()); in checkNotDone()
95 assertNull(a.getException()); in checkCompletedNormally()
133 assertTrue(a.getException() instanceof CancellationException); in checkCancelled()
160 assertSame(t.getClass(), a.getException().getClass()); in checkCompletedAbnormally()
371 assertTrue(f.getException() instanceof FJException); in testAbnormalQuietlyInvoke()
372 checkCompletedAbnormally(f, f.getException()); in testAbnormalQuietlyInvoke()
448 assertTrue(f.getException() instanceof FJException); in testAbnormalForkQuietlyJoin()
449 checkCompletedAbnormally(f, f.getException()); in testAbnormalForkQuietlyJoin()
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/javax/net/ssl/
DSSLSessionTest.java298 if (server.getException() != null) { in tearDown()
299 throw new RuntimeException(server.getException()); in tearDown()
303 if (client.getException() != null) { in tearDown()
304 throw new RuntimeException(client.getException()); in tearDown()
523 public Exception getException() { in getException() method in SSLSessionTest.TestServer
591 public Exception getException() { in getException() method in SSLSessionTest.TestClient
DHandshakeCompletedEventTest.java358 Exception e = server.getException(); in testClientAuth()
364 e = client.getException(); in testClientAuth()
453 public Exception getException() { in getException() method in HandshakeCompletedEventTest.TestServer
524 public Exception getException() { in getException() method in HandshakeCompletedEventTest.TestClient
/libcore/luni/src/test/java/libcore/java/security/
DPrivilegedActionExceptionTest.java39 assertSame(e, pae.getException()); in testGetException()
/libcore/luni/src/main/java/javax/xml/parsers/
DFactoryConfigurationError.java116 public Exception getException () { in getException() method in FactoryConfigurationError
/libcore/luni/src/main/java/javax/xml/transform/
DTransformerFactoryConfigurationError.java110 public Exception getException() { in getException() method in TransformerFactoryConfigurationError
DTransformerException.java63 public Throwable getException() { in getException() method in TransformerException
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/lang/
DExceptionInInitializerErrorTest.java49 assertSame(npe, e.getException()); in test_ConstructorLjava_lang_Throwable()
DClassNotFoundExceptionTest.java55 assertEquals("Wrong Exception", in, e.getException()); in test_ClassNotFoundException_LString_LThrowable()
/libcore/luni/src/main/java/org/xml/sax/
DSAXException.java119 public Exception getException () in getException() method in SAXException
/libcore/ojluni/src/main/java/java/util/concurrent/
DForkJoinTask.java784 ex = t.getException(); in invokeAll()
792 ex = t.getException(); in invokeAll()
836 ex = t.getException(); in invokeAll()
844 ex = t.getException(); in invokeAll()
918 public final Throwable getException() { in getException() method in ForkJoinTask
1500 s.writeObject(getException()); in writeObject()
/libcore/ojluni/src/main/java/sun/security/provider/certpath/
DCertStoreHelper.java96 e.getException()); in getInstance()
/libcore/ojluni/src/main/java/sun/nio/ch/
DSocketAdaptor.java257 throw (IOException)e.getException(); in getInputStream()
279 throw (IOException)e.getException(); in getOutputStream()

12