Home
last modified time | relevance | path

Searched refs:getException (Results 1 – 25 of 46) 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/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 …]
/libcore/ojluni/src/test/java/util/concurrent/tck/
DForkJoinTaskTest.java85 assertNull(a.getException()); in testInvokeOnPool()
94 assertNull(a.getException()); in testInvokeOnPool()
104 assertNull(a.getException()); in checkNotDone()
123 assertNull(a.getException()); in checkCompletedNormally()
157 assertTrue(a.getException() instanceof CancellationException);
194 assertSame(t.getClass(), a.getException().getClass());
560 assertTrue(f.getException() instanceof FJException);
561 checkCompletedAbnormally(f, f.getException());
633 assertTrue(f.getException() instanceof FJException);
634 checkCompletedAbnormally(f, f.getException());
[all …]
DRecursiveActionTest.java91 assertNull(a.getException()); in checkNotDone()
122 assertNull(a.getException()); in checkCompletedNormally()
140 assertTrue(a.getException() instanceof CancellationException); in checkCancelled()
167 assertSame(t.getClass(), a.getException().getClass()); in checkCompletedAbnormally()
346 checkCompletedAbnormally(f, f.getException()); in testJoinIgnoresInterrupts()
434 assertTrue(f.getException() instanceof FJException); in testJoinIgnoresInterruptsOutsideForkJoinPool()
435 checkCompletedAbnormally(f, f.getException()); in testJoinIgnoresInterruptsOutsideForkJoinPool()
555 assertTrue(f.getException() instanceof FJException); in testAbnormalQuietlyInvoke()
556 checkCompletedAbnormally(f, f.getException()); in testAbnormalQuietlyInvoke()
628 assertTrue(f.getException() instanceof FJException); in testAbnormalForkQuietlyJoin()
[all …]
DForkJoinPool8Test.java102 assertNull(a.getException()); in checkNotDone()
133 assertNull(a.getException()); in checkCompletedNormally()
151 assertTrue(a.getException() instanceof CancellationException); in checkCancelled()
178 assertSame(t.getClass(), a.getException().getClass()); in checkCompletedAbnormally()
357 checkCompletedAbnormally(f, f.getException()); in testJoinIgnoresInterrupts()
450 assertTrue(f.getException() instanceof FJException); in testAbnormalQuietlyInvoke()
451 checkCompletedAbnormally(f, f.getException()); in testAbnormalQuietlyInvoke()
523 assertTrue(f.getException() instanceof FJException); in testAbnormalForkQuietlyJoin()
524 checkCompletedAbnormally(f, f.getException()); in testAbnormalForkQuietlyJoin()
1118 assertTrue(f.getException() instanceof FJException); in testAbnormalQuietlyInvokeCC()
[all …]
DForkJoinTask8Test.java109 assertNull(a.getException()); in testInvokeOnPool()
118 assertNull(a.getException()); in testInvokeOnPool()
128 assertNull(a.getException()); in checkNotDone()
149 assertNull(a.getException()); in checkCompletedNormally()
185 assertSame(t.getClass(), a.getException().getClass());
603 assertTrue(f.getException() instanceof FJException);
604 checkCompletedAbnormally(f, f.getException());
700 assertTrue(f.getException() instanceof FJException);
701 checkCompletedAbnormally(f, f.getException());
1187 assertNull(f.getException());
DCountedCompleterTest.java86 assertNull(a.getException()); in testInvokeOnPool()
95 assertNull(a.getException()); in testInvokeOnPool()
105 assertNull(a.getException()); in checkNotDone()
120 assertNull(a.getException()); in checkCompletedNormally()
154 assertTrue(a.getException() instanceof CancellationException);
191 assertSame(t.getClass(), a.getException().getClass());
798 assertTrue(f.getException() instanceof FJException); in testAbnormalQuietlyInvoke()
799 checkCompletedAbnormally(f, f.getException()); in testAbnormalQuietlyInvoke()
871 assertTrue(f.getException() instanceof FJException); in testAbnormalForkQuietlyJoin()
872 checkCompletedAbnormally(f, f.getException()); in testAbnormalForkQuietlyJoin()
[all …]
DRecursiveTaskTest.java87 assertNull(a.getException()); in checkNotDone()
118 assertNull(a.getException()); in checkCompletedNormally()
156 assertTrue(a.getException() instanceof CancellationException); in checkCancelled()
183 assertSame(t.getClass(), a.getException().getClass()); in checkCompletedAbnormally()
394 assertTrue(f.getException() instanceof FJException); in testAbnormalQuietlyInvoke()
395 checkCompletedAbnormally(f, f.getException()); in testAbnormalQuietlyInvoke()
471 assertTrue(f.getException() instanceof FJException); in testAbnormalForkQuietlyJoin()
472 checkCompletedAbnormally(f, f.getException()); in testAbnormalForkQuietlyJoin()
/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/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()
451 public Exception getException() { in getException() method in HandshakeCompletedEventTest.TestServer
521 public Exception getException() { in getException() method in HandshakeCompletedEventTest.TestClient
/libcore/ojluni/src/main/java/java/security/
DPrivilegedActionException.java89 public Exception getException() { in getException() method in PrivilegedActionException
/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
/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

12