geronimo-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Adrian Jackson" <>
Subject RE: [Error handling] NullPointer or IllegalArgument?
Date Thu, 14 Aug 2003 09:41:32 GMT
Confusion between NullPointerException and NullArgumentException, I
think. :)

FWIW, it would *not* have been nice if NPE were an IAE - in a lot of
cases where it's generated, it's not because of an argument. In fact
it's almost never generated directly as the result of an illegal


-----Original Message-----
From: Jason Dillon [] 
Sent: 14 August 2003 10:31
Subject: Re: [Error handling] NullPointer or IllegalArgument?

> Note on further checking - NPE is not an IAE. They're both
> RuntimeExceptions but thats about it. Sorry Jason I think you're 
> mistaken - but it would have been nice though.

Huh?  Was there another Jason on this thread...


View raw message