geronimo-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Adrian Jackson" <adr...@dynamicweb.co.uk>
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
argument.

Adrian

-----Original Message-----
From: Jason Dillon [mailto:jason@coredevelopers.net] 
Sent: 14 August 2003 10:31
To: geronimo-dev@incubator.apache.org
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...

--jason


Mime
View raw message