commons-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Stephen Colebourne" <scolebou...@btopenworld.com>
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

Stephen


---------------------------------------------------------------------
To unsubscribe, e-mail: commons-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: commons-dev-help@jakarta.apache.org


Mime
View raw message