Community
Participate
Working Groups
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.
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 ...