commons-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Stephen Colebourne" <>
Subject Re: [collections] Java5.0 - Runtime exceptions or assertion errors. What's your preference?
Date Sat, 06 Nov 2004 08:40:01 GMT
> I think that Sun have got this wrong. They should have mandated IAE, not 
> NPE. In parctice, however, I don't think it makes much difference to 
> client code, since both are unchecked.  I intend to throw IAEs 
> throughout collections15, except where the Java Collections interfaces 
> mandate NPEs instead.

This is actually what [collections] does pretty much


To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message