Searched refs:getCause (Results 1 - 25 of 506) sorted by relevance

1234567891011>>

/openjdk10/langtools/src/jdk.compiler/share/classes/com/sun/tools/javac/util/
H A DPropagatedException.java47 public RuntimeException getCause() { method in class:PropagatedException
48 return (RuntimeException)super.getCause();
/openjdk10/jdk/test/java/lang/AssertionError/
H A DCause.java35 if (ae.getCause() != e)
38 if (ae.getCause() != null)
39 throw new Exception("Cause set erroneously: " + ae.getCause());
/openjdk10/jaxp/src/java.xml/share/classes/javax/xml/xpath/
H A DXPathException.java97 public Throwable getCause() { method in class:XPathException
98 return super.getCause();
113 fields.put("cause", (Throwable) super.getCause());
132 if (super.getCause() == null && scause != null) {
147 if (getCause() != null) {
148 getCause().printStackTrace(s);
169 if (getCause() != null) {
170 getCause().printStackTrace(s);
/openjdk10/jdk/test/java/security/Exceptions/
H A DChainingConstructors.java42 if (!se.getCause().equals(cause)) {
46 if (!se.getMessage().equals(MSG) || !se.getCause().equals(cause)) {
51 if (!de.getCause().equals(cause)) {
55 if (!de.getMessage().equals(MSG) || !de.getCause().equals(cause)) {
60 if (!gse.getCause().equals(cause)) {
64 if (!gse.getMessage().equals(MSG) || !gse.getCause().equals(cause)) {
70 if (!iape.getCause().equals(cause)) {
74 if (!iape.getMessage().equals(MSG) || !iape.getCause().equals(cause)) {
79 if (!ike.getCause().equals(cause)) {
83 if (!ike.getMessage().equals(MSG) || !ike.getCause()
[all...]
/openjdk10/langtools/src/jdk.javadoc/share/classes/jdk/javadoc/internal/doclets/toolkit/util/
H A DUncheckedDocletException.java48 public synchronized Throwable getCause() { method in class:UncheckedDocletException
49 return super.getCause();
/openjdk10/jdk/src/java.base/share/classes/java/nio/file/
H A DDirectoryIteratorException.java37 * IOException} using the {@link #getCause() getCause()} method.
68 public IOException getCause() { method in class:DirectoryIteratorException
69 return (IOException)super.getCause();
83 Throwable cause = super.getCause();
/openjdk10/jdk/src/java.base/share/classes/java/io/
H A DUncheckedIOException.java71 public IOException getCause() { method in class:UncheckedIOException
72 return (IOException) super.getCause();
86 Throwable cause = super.getCause();
H A DWriteAbortedException.java40 * <i>cause</i>, and may be accessed via the {@link Throwable#getCause()}
53 * The {@link Throwable#getCause()} method is now the preferred means of
90 public Throwable getCause() { method in class:WriteAbortedException
/openjdk10/jaxp/test/javax/xml/jaxp/unittest/sax/
H A DSAXExceptionExt.java36 public Throwable getCause() { method in class:SAXExceptionExt
/openjdk10/jdk/test/javax/xml/jaxp/XPath/8009579/
H A DXPathExceptionInitCause.java168 System.out.println("getCause() result: '" + xpathexcep.getCause()
170 if (!xpathexcep.getCause().toString().equals(cause.toString())) {
180 + "' cause='" + xpathexcep.getCause().toString() + "'");
182 + "' cause='" + xpedeser.getCause().toString()+"'");
183 if(xpedeser.getCause() == null ||
184 !xpedeser.getCause().toString().equals(cause.toString()) ||
193 + "' cause='" + xpeuninit.getCause()+"'");
195 + "' cause='" + xpedeser.getCause()+"'");
196 if(xpedeser.getCause() !
[all...]
/openjdk10/jdk/test/java/lang/Throwable/
H A DNewChainedExceptions.java39 if (!(e.getCause() == interior && e.getMessage() == message))
46 if (!(e.getCause() == interior &&
54 if (!(e.getCause() == interior && e.getMessage() == message))
61 if (!(e.getCause() == interior &&
69 if (!(e.getCause() == interior && e.getMessage() == message))
76 if (!(e.getCause() == interior &&
/openjdk10/jdk/test/java/rmi/activation/Activatable/lookupActivationSystem/
H A DLookupActivationSystem.java85 if (e.getCause() instanceof AccessException) {
91 "test3 FAILED: incorrect cause: " + e.getCause());
100 if (e.getCause() instanceof AccessException) {
106 "test4 FAILED: incorrect cause: " + e.getCause());
114 if (e.getCause() instanceof AccessException) {
120 "test5 FAILED: incorrect cause: " + e.getCause());
/openjdk10/jdk/test/javax/transaction/testng/test/transaction/
H A DXAExceptionTests.java43 && ex.getCause() == null
54 && ex.getCause() == null
69 && ex.getCause() == null
81 && ex.getCause() == null
94 && ex.getCause() == null
H A DTransactionRolledbackExceptionTests.java43 && ex.getCause() == null);
53 && ex.getCause() == null);
67 && ex.getCause() == null);
H A DTransactionRequiredExceptionTests.java43 && ex.getCause() == null);
53 && ex.getCause() == null);
67 && ex.getCause() == null);
H A DInvalidTransactionExceptionTests.java43 && ex.getCause() == null);
53 && ex.getCause() == null);
67 && ex.getCause() == null);
/openjdk10/jaxws/src/java.xml.bind/share/classes/com/sun/istack/internal/
H A DSAXException2.java49 public Throwable getCause() { method in class:SAXException2
/openjdk10/jdk/src/java.desktop/share/classes/com/sun/beans/finder/
H A DSignatureException.java35 Throwable throwable = getCause();
/openjdk10/jdk/src/java.desktop/share/classes/java/awt/print/
H A DPrinterIOException.java39 * and may be accessed via the {@link Throwable#getCause()} method,
67 * The {@link Throwable#getCause()} method is now the preferred means of
85 public Throwable getCause() { method in class:PrinterIOException
/openjdk10/jaxws/src/jdk.xml.bind/share/classes/com/sun/xml/internal/rngom/ast/builder/
H A DBuildException.java63 public Throwable getCause() { method in class:BuildException
/openjdk10/jdk/src/java.base/share/classes/java/lang/reflect/
H A DUndeclaredThrowableException.java51 * Throwable#getCause()} method, as well as the aforementioned "legacy
99 * The {@link Throwable#getCause()} method is now the preferred means of
116 public Throwable getCause() { method in class:UndeclaredThrowableException
/openjdk10/jdk/src/java.base/share/classes/java/lang/
H A DClassNotFoundException.java45 * Throwable#getCause()} method, as well as the aforementioned "legacy method."
104 * The {@link Throwable#getCause()} method is now the preferred means of
122 public Throwable getCause() { method in class:ClassNotFoundException
H A DExceptionInInitializerError.java38 * and may be accessed via the {@link Throwable#getCause()} method, as well
103 * The {@link Throwable#getCause()} method is now the preferred means of
123 public Throwable getCause() { method in class:ExceptionInInitializerError
/openjdk10/jdk/src/java.management/share/classes/javax/management/remote/
H A DJMXServerErrorException.java62 public Throwable getCause() { method in class:JMXServerErrorException
68 * @see #getCause()
H A DJMXProviderException.java73 public Throwable getCause() { method in class:JMXProviderException
80 * @see #getCause()

Completed in 409 milliseconds

1234567891011>>