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

1234567891011

/openjdk7/langtools/src/share/classes/com/sun/tools/javac/util/
H A DPropagatedException.java47 public RuntimeException getCause() { method in class:PropagatedException
48 return (RuntimeException)super.getCause();
/openjdk7/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());
/openjdk7/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...]
/openjdk7/jaxp/src/javax/xml/xpath/
H A DXPathException.java92 public Throwable getCause() { method in class:XPathException
102 if (getCause() != null) {
103 getCause().printStackTrace(s);
124 if (getCause() != null) {
125 getCause().printStackTrace(s);
/openjdk7/jdk/src/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();
/openjdk7/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 &&
/openjdk7/jdk/test/java/rmi/activation/Activatable/lookupActivationSystem/
H A DLookupActivationSystem.java80 if (e.getCause() instanceof AccessException) {
86 "test3 FAILED: incorrect cause: " + e.getCause());
95 if (e.getCause() instanceof AccessException) {
101 "test4 FAILED: incorrect cause: " + e.getCause());
109 if (e.getCause() instanceof AccessException) {
115 "test5 FAILED: incorrect cause: " + e.getCause());
/openjdk7/jdk/src/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
/openjdk7/jdk/src/share/classes/java/io/
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
/openjdk7/jdk/src/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
/openjdk7/jdk/src/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
/openjdk7/jdk/src/share/classes/javax/management/remote/
H A DJMXProviderException.java73 public Throwable getCause() { method in class:JMXProviderException
80 * @see #getCause()
H A DJMXServerErrorException.java62 public Throwable getCause() { method in class:JMXServerErrorException
68 * @see #getCause()
/openjdk7/jaxws/src/share/jaxws_classes/com/sun/istack/internal/
H A DSAXException2.java49 public Throwable getCause() { method in class:SAXException2
/openjdk7/jaxws/src/share/jaxws_classes/com/sun/xml/internal/rngom/ast/builder/
H A DBuildException.java63 public Throwable getCause() { method in class:BuildException
/openjdk7/jdk/test/java/beans/Beans/
H A DTest4343723.java42 if (null == exception.getCause())
/openjdk7/jdk/test/java/lang/reflect/Generics/
H A DexceptionCauseTest.java42 if (par != e.getCause() )
/openjdk7/jdk/test/javax/security/auth/login/LoginContext/
H A DResetConfigModule.java55 if (le.getCause() != null &&
56 le.getCause() instanceof SecurityException) {
68 if (le.getCause() != null &&
69 le.getCause() instanceof SecurityException) {
/openjdk7/jdk/test/sun/security/jgss/
H A DGssNPE.java45 if (se.getCause() instanceof java.io.IOException) {
H A DDefaultGssConfig.java48 if (nsae.getCause() instanceof IOException &&
49 !(nsae.getCause() instanceof FileNotFoundException)) {
/openjdk7/jdk/src/share/classes/sun/awt/
H A DCausedFocusEvent.java58 public Cause getCause() { method in class:CausedFocusEvent
86 (e instanceof CausedFocusEvent) ? ((CausedFocusEvent)e).getCause() : Cause.RETARGETED);
/openjdk7/jdk/test/sun/security/pkcs11/Provider/
H A DAbsolute.java49 Throwable cause = ite.getCause();
51 Throwable cause2 = cause.getCause();
H A DConfigShortPath.java55 Throwable cause = ite.getCause();
57 String causeMsg = cause.getCause().getMessage();
/openjdk7/jaxp/src/com/sun/org/apache/xerces/internal/xni/
H A DXNIException.java93 public Throwable getCause() { method in class:XNIException

Completed in 84 milliseconds

1234567891011