Bug 495468: SneakyException doesn't show the cause in strack traces
diff --git a/plugins/org.eclipse.objectteams.runtime/src/org/objectteams/SneakyException.java b/plugins/org.eclipse.objectteams.runtime/src/org/objectteams/SneakyException.java
index 28fad1a..35a9a16 100644
--- a/plugins/org.eclipse.objectteams.runtime/src/org/objectteams/SneakyException.java
+++ b/plugins/org.eclipse.objectteams.runtime/src/org/objectteams/SneakyException.java
@@ -36,6 +36,7 @@
 
 	/** Wrap a given exception in an unchecked SneakyException. */
 	public SneakyException(Exception cause) {
+		super(cause);
 		this.cause = cause;
 	}
 
@@ -58,4 +59,9 @@
 	public void printStackTrace(PrintStream s) {
 		this.cause.printStackTrace(s);
 	}
+	
+	@Override
+	public StackTraceElement[] getStackTrace() {
+		return this.cause.getStackTrace();
+	}
 }