summaryrefslogtreecommitdiffstats
path: root/runtime/src
diff options
context:
space:
mode:
authoracolyer <acolyer>2004-01-07 13:30:26 +0000
committeracolyer <acolyer>2004-01-07 13:30:26 +0000
commiteac16aee966695c8f0d22c4961c63a27e61dd2bf (patch)
tree7fa391dc294048537325d23a7999882870eaca7d /runtime/src
parentb8a0bc6e58f185b5804c24181795f570e4c0ec12 (diff)
downloadaspectj-eac16aee966695c8f0d22c4961c63a27e61dd2bf.tar.gz
aspectj-eac16aee966695c8f0d22c4961c63a27e61dd2bf.zip
added getCause method (patch from Andy) for 1.4 compatibility. bug 49250
Diffstat (limited to 'runtime/src')
-rw-r--r--runtime/src/org/aspectj/lang/SoftException.java3
1 files changed, 1 insertions, 2 deletions
diff --git a/runtime/src/org/aspectj/lang/SoftException.java b/runtime/src/org/aspectj/lang/SoftException.java
index e3c19ed80..406eb5272 100644
--- a/runtime/src/org/aspectj/lang/SoftException.java
+++ b/runtime/src/org/aspectj/lang/SoftException.java
@@ -31,7 +31,6 @@ public class SoftException extends RuntimeException {
}
public Throwable getWrappedThrowable() { return inner; }
+ public Throwable getCause() { return inner; }
- //XXX should add a getCause() method to parallel j2se 1.4's new
- //XXX chained exception mechanism
}