Return-Path: Delivered-To: apmail-jakarta-commons-dev-archive@www.apache.org Received: (qmail 82445 invoked from network); 6 Sep 2005 15:03:12 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 6 Sep 2005 15:03:12 -0000 Received: (qmail 46966 invoked by uid 500); 6 Sep 2005 15:03:11 -0000 Delivered-To: apmail-jakarta-commons-dev-archive@jakarta.apache.org Received: (qmail 46477 invoked by uid 500); 6 Sep 2005 15:03:09 -0000 Mailing-List: contact commons-dev-help@jakarta.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Help: List-Post: List-Id: "Jakarta Commons Developers List" Reply-To: "Jakarta Commons Developers List" Delivered-To: mailing list commons-dev@jakarta.apache.org Received: (qmail 46464 invoked by uid 99); 6 Sep 2005 15:03:09 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (140.211.166.49) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 06 Sep 2005 08:03:09 -0700 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_HELO_PASS X-Spam-Check-By: apache.org Received-SPF: neutral (asf.osuosl.org: local policy) Received: from [194.158.96.102] (HELO relay-bv.club-internet.fr) (194.158.96.102) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 06 Sep 2005 08:03:20 -0700 Received: from [127.0.0.1] (lfjr.club-internet.fr [194.117.194.68]) by relay-bv.club-internet.fr (Postfix) with ESMTP id 03AC925618 for ; Tue, 6 Sep 2005 17:03:04 +0200 (CEST) Message-ID: <431DAFF3.6010601@apache.org> Date: Tue, 06 Sep 2005 17:04:19 +0200 From: Emmanuel Bourg User-Agent: Mozilla Thunderbird 1.0RC1 (Windows/20041201) X-Accept-Language: en-us, en MIME-Version: 1.0 To: Jakarta Commons Developers List Subject: Re: [lang] enhanced version of Class.forName References: <200509061445.j86EiwdP017756@carmanconsulting.com> In-Reply-To: <200509061445.j86EiwdP017756@carmanconsulting.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N 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