geronimo-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From James Strachan <>
Subject Re: [Error handling] NullPointer or IllegalArgument?
Date Thu, 14 Aug 2003 13:03:43 GMT

On Thursday, August 14, 2003, at 01:56  pm, Jason Dillon wrote:

>> I guess this could be as easily internationalised as uses of the IAE 
>> messages, but has the advantage that they're all in one place :-)
> Why is that bad?  All that needs to be internationalized is the 
> "Attribute is null: " bits.  I do not suggest we translate the 
> attribute name, as that is intended to be the name of the java 
> attribute for easy javadoc refs.

I think Alex was agreeing with you. i.e. by using Geronimo's  
NullArgumentException we can put all the i18n in one place rather than 
embedding it inside application code.


View raw message