Home
last modified time | relevance | path

Searched refs:Throwable (Results 1 – 25 of 1183) sorted by relevance

12345678910>>...48

/libcore/dom/src/test/java/org/w3c/domts/
DJunitTestCases.java27 private void runDomTest(String name) throws Throwable { in runDomTest()
33 public void test_level1_core_attrcreatedocumentfragment() throws Throwable { in test_level1_core_attrcreatedocumentfragment()
37 public void test_level1_core_attrcreatetextnode() throws Throwable { in test_level1_core_attrcreatetextnode()
41 public void test_level1_core_attrcreatetextnode2() throws Throwable { in test_level1_core_attrcreatetextnode2()
45 public void test_level1_core_attreffectivevalue() throws Throwable { in test_level1_core_attreffectivevalue()
49 public void test_level1_core_attrname() throws Throwable { in test_level1_core_attrname()
53 public void test_level1_core_attrnextsiblingnull() throws Throwable { in test_level1_core_attrnextsiblingnull()
57 public void test_level1_core_attrparentnodenull() throws Throwable { in test_level1_core_attrparentnodenull()
61 public void test_level1_core_attrprevioussiblingnull() throws Throwable { in test_level1_core_attrprevioussiblingnull()
65 public void test_level1_core_attrspecifiedvalue() throws Throwable { in test_level1_core_attrspecifiedvalue()
[all …]
/libcore/luni/src/test/java/libcore/java/lang/
DThrowableTest.java28 public synchronized Throwable fillInStackTrace() { in fillInStackTrace()
45 } catch (Throwable th) { in testNonWritableStackTrace()
64 private static class SuppressionsThrowable extends Throwable {
67 public SuppressionsThrowable(String detailMessage, Throwable throwable, in SuppressionsThrowable()
74 Throwable throwable = new Throwable(); in testAddSuppressed()
76 Throwable suppressedA = new Throwable(); in testAddSuppressed()
79 Throwable suppressedB = new Throwable(); in testAddSuppressed()
85 Throwable throwable = new Throwable(); in testAddDuplicateSuppressed()
86 Throwable suppressedA = new Throwable(); in testAddDuplicateSuppressed()
94 Throwable throwable = new Throwable(); in testGetSuppressedReturnsCopy()
[all …]
DOldThrowableTest.java26 Throwable thr = new Throwable(message, npe); in test_ConstructorLStringLThrowable()
30 thr = new Throwable(null, npe); in test_ConstructorLStringLThrowable()
34 thr = new Throwable(message, null); in test_ConstructorLStringLThrowable()
42 Throwable thr = new Throwable(npe); in test_ConstructorLThrowable()
46 thr = new Throwable((Throwable) null); in test_ConstructorLThrowable()
52 Throwable e = new Throwable(testMessage); in test_getLocalizedMessage()
60 class TestThrowable extends Throwable {
74 Throwable thr = new Throwable(message, npe); in test_getStackTrace()
83 Throwable thr = new Throwable(); in test_initCause()
87 thr = new Throwable("message"); in test_initCause()
[all …]
/libcore/ojluni/src/main/java/java/lang/reflect/
DInvocationTargetException.java56 private Throwable target;
63 super((Throwable)null); // Disallow initCause in InvocationTargetException()
71 public InvocationTargetException(Throwable target) { in InvocationTargetException()
72 super((Throwable)null); // Disallow initCause in InvocationTargetException()
83 public InvocationTargetException(Throwable target, String s) { in InvocationTargetException()
97 public Throwable getTargetException() { in getTargetException()
108 public Throwable getCause() { in getCause()
DUndeclaredThrowableException.java65 private Throwable undeclaredThrowable;
74 public UndeclaredThrowableException(Throwable undeclaredThrowable) { in UndeclaredThrowableException()
75 super((Throwable) null); // Disallow initCause in UndeclaredThrowableException()
87 public UndeclaredThrowableException(Throwable undeclaredThrowable, in UndeclaredThrowableException()
104 public Throwable getUndeclaredThrowable() { in getUndeclaredThrowable()
116 public Throwable getCause() { in getCause()
/libcore/ojluni/src/main/java/java/lang/
DThrowable.java115 public class Throwable implements Serializable { class
193 private Throwable cause = this;
219 private List<Throwable> suppressedExceptions = Collections.emptyList();
241 public Throwable() { in Throwable() method in Throwable
256 public Throwable(String message) { in Throwable() method in Throwable
278 public Throwable(String message, Throwable cause) { in Throwable() method in Throwable
301 public Throwable(Throwable cause) { in Throwable() method in Throwable
348 protected Throwable(String message, Throwable cause, in Throwable() method in Throwable
406 public synchronized Throwable getCause() { in getCause()
446 public synchronized Throwable initCause(Throwable cause) { in initCause()
[all …]
DClassNotFoundException.java66 private Throwable ex;
72 super((Throwable)null); // Disallow initCause in ClassNotFoundException()
94 public ClassNotFoundException(String s, Throwable ex) { in ClassNotFoundException()
110 public Throwable getException() { in getException()
122 public Throwable getCause() { in getCause()
DExceptionInInitializerError.java58 private Throwable exception;
78 public ExceptionInInitializerError(Throwable thrown) { in ExceptionInInitializerError()
111 public Throwable getException() { in getException()
123 public Throwable getCause() { in getCause()
DError.java49 public class Error extends Throwable {
87 public Error(String message, Throwable cause) { in Error()
104 public Error(Throwable cause) { in Error()
123 protected Error(String message, Throwable cause, in Error()
DException.java45 public class Exception extends Throwable {
83 public Exception(String message, Throwable cause) { in Exception()
101 public Exception(Throwable cause) { in Exception()
119 protected Exception(String message, Throwable cause, in Exception()
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/io/
DIOExceptionTest.java63 … "A dummy IOException", new Throwable("A dummy Throwable")); //$NON-NLS-1$//$NON-NLS-2$ in test_ConstructorLString_LThrowable()
68 … "A dummy error", new Throwable("Some error message")); //$NON-NLS-1$ //$NON-NLS-2$ in test_ConstructorLString_LThrowable()
83 Throwable cause = new Throwable("A dummy Throwable"); //$NON-NLS-1$ in test_Constructor_LThrowable()
87 ioException = new IOException((Throwable) null); in test_Constructor_LThrowable()
91 throw new IOException(new Throwable("Some error message")); //$NON-NLS-1$ in test_Constructor_LThrowable()
/libcore/luni/src/main/java/javax/xml/datatype/
DDatatypeConfigurationException.java42 private Throwable causeOnJDK13OrBelow;
74 public DatatypeConfigurationException(String message, Throwable cause) { in DatatypeConfigurationException()
86 public DatatypeConfigurationException(Throwable cause) { in DatatypeConfigurationException()
141 private void initCauseByReflection(Throwable cause) { in initCauseByReflection()
144 Method m = this.getClass().getMethod("initCause", new Class[] {Throwable.class}); in initCauseByReflection()
157 Throwable cause = (Throwable) m1.invoke(this, new Object[] {}); in readObject()
162 Method m2 = this.getClass().getMethod("initCause", new Class[] {Throwable.class}); in readObject()
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/lang/
DThrowableTest.java31 Throwable e = new Throwable(); in test_Constructor()
41 Throwable e = new Throwable("fixture"); in test_ConstructorLjava_lang_String()
79 } catch (Throwable e) { in test_fillInStackTrace()
88 } catch (Throwable e) { in test_fillInStackTrace()
129 Throwable x = new ClassNotFoundException("A Test Message"); in test_printStackTrace()
150 Throwable x = new java.net.UnknownHostException("A Message"); in test_printStackTraceLjava_io_PrintStream()
167 Throwable x = new java.net.UnknownHostException("A Message"); in test_printStackTraceLjava_io_PrintWriter()
179 Throwable e = new Throwable("Throw"); in test_toString()
/libcore/ojluni/src/main/java/java/sql/
DSQLException.java54 implements Iterable<Throwable> {
164 public SQLException(Throwable cause) { in SQLException()
186 public SQLException(String reason, Throwable cause) { in SQLException()
209 public SQLException(String reason, String sqlState, Throwable cause) { in SQLException()
235 public SQLException(String reason, String sqlState, int vendorCode, Throwable cause) { in SQLException()
314 public Iterator<Throwable> iterator() { in iterator()
316 return new Iterator<Throwable>() { in iterator()
320 Throwable cause = firstException.getCause(); in iterator()
328 public Throwable next() { in iterator()
329 Throwable throwable = null; in iterator()
DSQLTransactionRollbackException.java119 public SQLTransactionRollbackException(Throwable cause) { in SQLTransactionRollbackException()
135 public SQLTransactionRollbackException(String reason, Throwable cause) { in SQLTransactionRollbackException()
151 public SQLTransactionRollbackException(String reason, String SQLState, Throwable cause) { in SQLTransactionRollbackException()
168 … SQLTransactionRollbackException(String reason, String SQLState, int vendorCode, Throwable cause) { in SQLTransactionRollbackException()
DSQLDataException.java122 public SQLDataException(Throwable cause) { in SQLDataException()
137 public SQLDataException(String reason, Throwable cause) { in SQLDataException()
152 public SQLDataException(String reason, String SQLState, Throwable cause) { in SQLDataException()
168 public SQLDataException(String reason, String SQLState, int vendorCode, Throwable cause) { in SQLDataException()
DSQLSyntaxErrorException.java119 public SQLSyntaxErrorException(Throwable cause) { in SQLSyntaxErrorException()
135 public SQLSyntaxErrorException(String reason, Throwable cause) { in SQLSyntaxErrorException()
151 public SQLSyntaxErrorException(String reason, String SQLState, Throwable cause) { in SQLSyntaxErrorException()
168 … public SQLSyntaxErrorException(String reason, String SQLState, int vendorCode, Throwable cause) { in SQLSyntaxErrorException()
DSQLFeatureNotSupportedException.java125 public SQLFeatureNotSupportedException(Throwable cause) { in SQLFeatureNotSupportedException()
141 public SQLFeatureNotSupportedException(String reason, Throwable cause) { in SQLFeatureNotSupportedException()
157 public SQLFeatureNotSupportedException(String reason, String SQLState, Throwable cause) { in SQLFeatureNotSupportedException()
174 … SQLFeatureNotSupportedException(String reason, String SQLState, int vendorCode, Throwable cause) { in SQLFeatureNotSupportedException()
DSQLTimeoutException.java117 public SQLTimeoutException(Throwable cause) { in SQLTimeoutException()
133 public SQLTimeoutException(String reason, Throwable cause) { in SQLTimeoutException()
149 public SQLTimeoutException(String reason, String SQLState, Throwable cause) { in SQLTimeoutException()
166 public SQLTimeoutException(String reason, String SQLState, int vendorCode, Throwable cause) { in SQLTimeoutException()
DSQLIntegrityConstraintViolationException.java120 public SQLIntegrityConstraintViolationException(Throwable cause) { in SQLIntegrityConstraintViolationException()
136 public SQLIntegrityConstraintViolationException(String reason, Throwable cause) { in SQLIntegrityConstraintViolationException()
152 … public SQLIntegrityConstraintViolationException(String reason, String SQLState, Throwable cause) { in SQLIntegrityConstraintViolationException()
169 …rityConstraintViolationException(String reason, String SQLState, int vendorCode, Throwable cause) { in SQLIntegrityConstraintViolationException()
DSQLInvalidAuthorizationSpecException.java120 public SQLInvalidAuthorizationSpecException(Throwable cause) { in SQLInvalidAuthorizationSpecException()
136 public SQLInvalidAuthorizationSpecException(String reason, Throwable cause) { in SQLInvalidAuthorizationSpecException()
152 public SQLInvalidAuthorizationSpecException(String reason, String SQLState, Throwable cause) { in SQLInvalidAuthorizationSpecException()
169 …nvalidAuthorizationSpecException(String reason, String SQLState, int vendorCode, Throwable cause) { in SQLInvalidAuthorizationSpecException()
DSQLNonTransientConnectionException.java121 public SQLNonTransientConnectionException(Throwable cause) { in SQLNonTransientConnectionException()
137 public SQLNonTransientConnectionException(String reason, Throwable cause) { in SQLNonTransientConnectionException()
153 public SQLNonTransientConnectionException(String reason, String SQLState, Throwable cause) { in SQLNonTransientConnectionException()
170 …LNonTransientConnectionException(String reason, String SQLState, int vendorCode, Throwable cause) { in SQLNonTransientConnectionException()
/libcore/luni/src/main/java/javax/xml/transform/
DTransformerException.java55 Throwable containedException;
63 public Throwable getException() { in getException()
72 public Throwable getCause() { in getCause()
103 public synchronized Throwable initCause(Throwable cause) { in initCause()
137 public TransformerException(Throwable e) { in TransformerException()
155 public TransformerException(String message, Throwable e) { in TransformerException()
192 Throwable e) { in TransformerException()
314 } catch (Throwable e) {} in printStackTrace()
/libcore/luni/src/test/java/tests/org/w3c/dom/
DIsSupported.java57 public void testIsSupported1() throws Throwable { in testIsSupported1()
66 public void testIsSupported2() throws Throwable { in testIsSupported2()
75 public void testIsSupported4() throws Throwable { in testIsSupported4()
84 public void testIsSupported5() throws Throwable { in testIsSupported5()
93 public void testIsSupported6() throws Throwable { in testIsSupported6()
102 public void testIsSupported7() throws Throwable { in testIsSupported7()
111 public void testIsSupported9() throws Throwable { in testIsSupported9()
120 public void testIsSupported10() throws Throwable { in testIsSupported10()
129 public void testIsSupported11() throws Throwable { in testIsSupported11()
139 public void testIsSupported12() throws Throwable { in testIsSupported12()
[all …]
/libcore/ojluni/src/lambda/java/java/lang/invoke/
DMethodHandle.java32 public final Object invokeExact(Object... args) throws Throwable { return null; } in invokeExact()
34 public final Object invoke(Object... args) throws Throwable { return null; } in invoke()
36 public Object invokeWithArguments(Object... arguments) throws Throwable { return null; } in invokeWithArguments()
38 public Object invokeWithArguments(java.util.List<?> arguments) throws Throwable { return null; } in invokeWithArguments()

12345678910>>...48