On Sat, 14 Dec 2002 00:44, Berin Loritsch wrote: > However, regarding NullPointerException vs. IllegalArgumentException, let > me delve into a bit more reasoning.
One of the main reasons that I throw a NP when null is encountered is that you don't have to worry about i18n because throw new NullPointerException( "foo" ); already saids that foo was null and not meant to be. Whereas if I used an IAS you would need to add in i18n. -- Cheers, Peter Donald The big mistake that men make is that when they turn thirteen or fourteen and all of a sudden they've reached puberty, they believe that they like women. Actually, you're just horny. It doesn't mean you like women any more at twenty-one than you did at ten. --Jules Feiffer (cartoonist) -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>
