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:[EMAIL PROTECTED] 
Sent: 14 August 2003 10:31
To: [EMAIL PROTECTED]
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

Reply via email to