commit | 0502bf62a2894d7a24339f53a46fe0ad2135ba48 | [log] [tgz] |
---|---|---|
author | cbridgha <cbridgha> | Thu Apr 19 19:56:23 2007 +0000 |
committer | cbridgha <cbridgha> | Thu Apr 19 19:56:23 2007 +0000 |
tree | a1a4e7c5e3be7ff627ff99955e6c53b33525ebd4 | |
parent | 6efe80b1c14851325e6c3b7130388b9887369629 [diff] |
[182241] ccc - added getClause() to Exceptions
diff --git a/plugins/org.eclipse.wst.common.frameworks/src/org/eclipse/wst/common/frameworks/internal/WrappedRuntimeException.java b/plugins/org.eclipse.wst.common.frameworks/src/org/eclipse/wst/common/frameworks/internal/WrappedRuntimeException.java index 35ed923..7d8fc75 100644 --- a/plugins/org.eclipse.wst.common.frameworks/src/org/eclipse/wst/common/frameworks/internal/WrappedRuntimeException.java +++ b/plugins/org.eclipse.wst.common.frameworks/src/org/eclipse/wst/common/frameworks/internal/WrappedRuntimeException.java
@@ -73,6 +73,15 @@ } /** + * Added to provide compatibility for the Java 1.4.2 addition of + * <code>Throwable.getCause()</code>. + * @return The nested exception held by the receiver. + */ + public java.lang.Throwable getCause() { + return getNestedException(); + } + + /** * Print out a stack trace to the system err. */ public void printStackTrace() {