commons-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Emmanuel Bourg <ebo...@apache.org>
Subject Re: [lang] enhanced version of Class.forName
Date Tue, 06 Sep 2005 15:04:19 GMT
James Carman wrote:
> Do you think we need to go through the trouble of throwing an
> IllegalArgumentException if it's not a well-formed class name (starts with
> character, blah blah blah)?  Or, can we just let it throw a
> ClassNotFoundException after doing as much as we can with the string that's
> passed in (i.e. transforming it into the proper format)? 

I was going to make this suggestion, that seems good enough to me.

Emmanuel Bourg

---------------------------------------------------------------------
To unsubscribe, e-mail: commons-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: commons-dev-help@jakarta.apache.org


Mime
View raw message