[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() {