Return-Path: Delivered-To: apmail-directory-api-archive@minotaur.apache.org Received: (qmail 14843 invoked from network); 14 Mar 2010 13:02:47 -0000 Received: from unknown (HELO mail.apache.org) (140.211.11.3) by 140.211.11.9 with SMTP; 14 Mar 2010 13:02:47 -0000 Received: (qmail 39064 invoked by uid 500); 14 Mar 2010 13:02:04 -0000 Delivered-To: apmail-directory-api-archive@directory.apache.org Received: (qmail 39038 invoked by uid 500); 14 Mar 2010 13:02:04 -0000 Mailing-List: contact api-help@directory.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: api@directory.apache.org Delivered-To: mailing list api@directory.apache.org Received: (qmail 39030 invoked by uid 99); 14 Mar 2010 13:02:04 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 14 Mar 2010 13:02:04 +0000 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests=FREEMAIL_FROM,RCVD_IN_DNSWL_NONE,SPF_PASS,T_TO_NO_BRKTS_FREEMAIL X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of elecharny@gmail.com designates 209.85.218.217 as permitted sender) Received: from [209.85.218.217] (HELO mail-bw0-f217.google.com) (209.85.218.217) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 14 Mar 2010 13:01:57 +0000 Received: by mail-bw0-f217.google.com with SMTP id 9so2555227bwz.25 for ; Sun, 14 Mar 2010 06:01:37 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:reply-to :user-agent:mime-version:to:subject:references:in-reply-to :content-type:content-transfer-encoding; bh=OfVqf1DRf7fqUaf678BPh3sut+8IP256sjmFlP1n0HA=; b=bA8FirHUzB505Vcudl2bRMaYqFaEsGVMzf93ZewTGwtZyDdZGa2mMNyNIx36Bholji H/jW+Lw7/HPGyYOblBo4aabPupu1UgpPxNwWjsHJoZSlaGeO3CaEsBP1HQ7dj5C2ul/O qgtETMUPworUWcUKeoPbLvYED17suxWNIdWfA= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:reply-to:user-agent:mime-version:to:subject :references:in-reply-to:content-type:content-transfer-encoding; b=vxjlLXE9uKnXKjPTbBi8Jl0wx/0FKa5fkEBlxKELDJlZh9Z4gPPM3ahlLz8YSxltIx P38PuQEL4g9abF/kIwO8C1N5wpCiTM/IQOd0UIpcGlw4LLObGKb3/FcapDE+6VmnWnV5 O/JS5j4KoALodlxXlpkmq5km+AstCo2NEV3n4= Received: by 10.204.15.150 with SMTP id k22mr4169144bka.161.1268571695407; Sun, 14 Mar 2010 06:01:35 -0700 (PDT) Received: from emmanuel-lecharnys-MacBook-Pro.local (vol75-3-82-66-216-176.fbx.proxad.net [82.66.216.176]) by mx.google.com with ESMTPS id 24sm15803351bkr.0.2010.03.14.06.01.34 (version=TLSv1/SSLv3 cipher=RC4-MD5); Sun, 14 Mar 2010 06:01:34 -0700 (PDT) Message-ID: <4B9CDE2D.9020406@gmail.com> Date: Sun, 14 Mar 2010 14:01:33 +0100 From: Emmanuel Lecharny Reply-To: elecharny@apache.org User-Agent: Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.6; en-US; rv:1.9.1.8) Gecko/20100227 Thunderbird/3.0.3 MIME-Version: 1.0 To: api@directory.apache.org Subject: Re: About exceptions References: <4B9A1FE4.4040909@gmail.com> <4B9C9D0E.8070400@apache.org> <4B9CB2EA.2080400@gmail.com> In-Reply-To: <4B9CB2EA.2080400@gmail.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 8bit X-Virus-Checked: Checked by ClamAV on apache.org On 3/14/10 10:56 AM, Kiran Ayyagari wrote: > > from the recent experience of migrating test cases to client-api > have observed that unlike jndi we return result codes and I liked this > (the jndi exceptions rather give me a feeling like 'use exceptions for > control flow', which is considered as a bad practice by many) > > so +1 for returning result codes instead of exceptions Yes, that's pretty obvious we should do that. -- Regards, Cordialement, Emmanuel L�charny www.nextury.com