geronimo-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Dain Sundstrom <>
Subject Re: [Exceptions] [i18n] Hardcoded message strings
Date Thu, 28 Aug 2003 17:21:12 GMT
On Thursday, August 28, 2003, at 07:33 AM, Alex Blewitt wrote:

> Note that this applies also when chaining exceptions (and the 
> exception doesn't support nesting the Throwable directly); using

You lost me here.  All exceptions support chaining.  Some exceptions 
make it more difficult because they don't have a constructor that takes 
a Throwable init cause (like IllegalArgumentException), but you can 
always set it directly.  For example:

IllegalArgumentException exception = new 
throw exception;


  * Dain Sundstrom
  * Partner
  * Core Developers Network

View raw message