Return-Path: Delivered-To: apmail-jakarta-commons-dev-archive@apache.org Received: (qmail 53645 invoked from network); 19 Nov 2002 23:23:42 -0000 Received: from unknown (HELO nagoya.betaversion.org) (192.18.49.131) by daedalus.apache.org with SMTP; 19 Nov 2002 23:23:42 -0000 Received: (qmail 13594 invoked by uid 97); 19 Nov 2002 23:24:46 -0000 Delivered-To: qmlist-jakarta-archive-commons-dev@jakarta.apache.org Received: (qmail 13572 invoked by uid 97); 19 Nov 2002 23:24:45 -0000 Mailing-List: contact commons-dev-help@jakarta.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Subscribe: 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 29938 invoked by uid 98); 19 Nov 2002 22:45:13 -0000 X-Antivirus: nagoya (v4218 created Aug 14 2002) Date: Tue, 19 Nov 2002 22:44:41 +0000 Mime-Version: 1.0 (Apple Message framework v546) Content-Type: text/plain; charset=US-ASCII; format=flowed Subject: [cli] API change From: John Keyes To: commons-dev Content-Transfer-Encoding: 7bit Message-Id: <7E23C115-FC10-11D6-AEE1-00039379521C@integralsource.com> X-Mailer: Apple Mail (2.546) X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N Hi guys, The method signature for addValue is currently public, this method should only ever be called by the parser when it is creating the command line. This method currently returns a boolean when the add fails, this should be changed to throw exceptions when a problem occurs. What is the general consensus for doing something like this? If this was a frequently used API then I would say deprecate it, seeing that this was a design fault I think it should be okay to change the signature as it should not affect any users code. What do people think? Thanks, -John K - - - - - - - - - - - - - - - - - - - - - - - Jakarta Commons CLI http://jakarta.apache.org/commons/cli -- To unsubscribe, e-mail: For additional commands, e-mail: