]> source.dussan.org Git - aspectj.git/commitdiff
added getCause method (patch from Andy) for 1.4 compatibility. bug 49250
authoracolyer <acolyer>
Wed, 7 Jan 2004 13:30:26 +0000 (13:30 +0000)
committeracolyer <acolyer>
Wed, 7 Jan 2004 13:30:26 +0000 (13:30 +0000)
runtime/src/org/aspectj/lang/SoftException.java

index e3c19ed80a0194b158018bd24ddef07cd9270ae3..406eb5272f3905f528c9d321d311f74164df2340 100644 (file)
@@ -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
 }