directory-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Pierre-Arnaud Marcelot" ...@marcelot.net>
Subject Re: Constructors & Exceptions
Date Thu, 03 Jan 2008 13:06:44 GMT
Hi all,

On Jan 3, 2008 1:31 PM, Felix Knecht <felixk@apache.org> wrote:
>
> +1 for 3
>
> |What about java.lang.IllegalArgumentException? It says precisely what's
> the problem (and fits to your needs) and is a Subclass of
> RuntimeException?|
>

+1 for 3, and using the IllegalArgumentException class.

It looks like the perfect solution.

Regards,
Pierre-Arnaud

Mime
View raw message