Bug 49250

Summary: alias getCause for getWrappedThrowable in SoftException
Product: [Tools] AspectJ Reporter: Wes Isberg <wes>
Component: CompilerAssignee: Andrew Clement <aclement>
Status: RESOLVED FIXED QA Contact:
Severity: normal    
Priority: P3    
Version: 1.1.1   
Target Milestone: 1.2   
Hardware: PC   
OS: Windows XP   
Whiteboard:

Description Wes Isberg CLA 2003-12-21 15:01:36 EST
SoftException should implement getCause():

   public Throwable getCause() {
       return inner;
   }

(As pointed out by Ramnivas, misc mail messages, code comments...)

Using getCause() means the chain should print as expected in 1.4+, esp. when
SoftException is itself wrapped as a RemoteException.  Since getCause()
replicates getWrappedThrowable(), we could deprecate that, but we must continue
to support it to maintain upwards binary compatibility in the runtime classes.
Comment 1 Andrew Clement CLA 2004-01-07 08:34:45 EST
getCause() on SoftException has been added.  Testcase added to verify it works 
as expected on 1.3 JVMs.  Adrian is integrating the patch right now ...