geronimo-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jason Dillon <ja...@coredevelopers.net>
Subject Re: [Error handling] NullPointer or IllegalArgument?
Date Thu, 14 Aug 2003 08:35:53 GMT
> [Exception] IllegalArgumentException: address must not be null

+1

org.apache.geronimo.common.NullArgumentException extends IAE and 
handles the formatting of the message too, so you can:

throw new NullArgumentException("address");

;-)

--jason


Mime
View raw message