commons-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Ola Berg <>
Subject RE: [commons]NPE or IAE?
Date Wed, 21 Aug 2002 22:01:54 GMT
>Those callers who believe they are separate conditions can handle them

True. But since they are runtime exceptions, they can be avoided by the caller anyway. One
can argue that if they ever occur, it is a bug in their programs, so they should not have
any automatic handling of the condition anyway. They should read the message: \"This is illegal,
it shouldn\'t be null.\", and do any assertions on their part.

>Those who believe they are the same can handle them the

How do they handle them the same?

BTW, PredicateUtils uses IAE even for nulls.


0733 - 99 99 17

To unsubscribe, e-mail:   <>
For additional commands, e-mail: <>

View raw message