From: Archie C. <ar...@de...> - 2004-04-26 22:27:43
|
Hi, This is a request to add an exception-chaining constructor to the ApplicationException class.. e.g.: public ApplicationException(Throwable cause) { ... } It's likely folks will need to wrap an application-specific exception within an ApplicationException instance. Right now you have to do this, which is awkward: } catch (MyException e) { throw new (ApplicationException)new ApplicationException(e.toString()).initCause(e); } Thanks, -Archie __________________________________________________________________________ Archie Cobbs * CTO, Awarix * http://www.awarix.com |