Re: [Avalon4:Fortress] Eating Crow (was Changes to RoleManager)
Peter Donald <[email protected]>
| Newsgroups | gmane.comp.jakarta.avalon.apps.devel |
|---|---|
| Message-ID | <200212142147.02380.peter__32635.1500618786$1039862179@realityforge.org> |
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)