From aries-dev-return-2988-apmail-incubator-aries-dev-archive=incubator.apache.org@incubator.apache.org Wed Mar 31 05:59:19 2010 Return-Path: Delivered-To: apmail-incubator-aries-dev-archive@minotaur.apache.org Received: (qmail 15185 invoked from network); 31 Mar 2010 05:59:19 -0000 Received: from unknown (HELO mail.apache.org) (140.211.11.3) by 140.211.11.9 with SMTP; 31 Mar 2010 05:59:19 -0000 Received: (qmail 30425 invoked by uid 500); 31 Mar 2010 05:59:19 -0000 Delivered-To: apmail-incubator-aries-dev-archive@incubator.apache.org Received: (qmail 30314 invoked by uid 500); 31 Mar 2010 05:59:19 -0000 Mailing-List: contact aries-dev-help@incubator.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: aries-dev@incubator.apache.org Delivered-To: mailing list aries-dev@incubator.apache.org Received: (qmail 30300 invoked by uid 99); 31 Mar 2010 05:59:18 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 31 Mar 2010 05:59:18 +0000 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests=FREEMAIL_FROM,SPF_PASS,T_TO_NO_BRKTS_FREEMAIL X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of vmahrwald@googlemail.com designates 74.125.82.47 as permitted sender) Received: from [74.125.82.47] (HELO mail-ww0-f47.google.com) (74.125.82.47) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 31 Mar 2010 05:59:10 +0000 Received: by wwb13 with SMTP id 13so2223954wwb.6 for ; Tue, 30 Mar 2010 22:58:50 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlemail.com; s=gamma; h=domainkey-signature:received:received:message-id:from:to :in-reply-to:content-type:content-transfer-encoding:mime-version :subject:date:references:x-mailer; bh=az1jLkuF0N8GaiXY/fsCV/eg/41GOqo/+VIKikahXzQ=; b=l7VeldyjxtRxDxWLd/oYaJqkBByuZiPEHguDcR+UjoxDZN26I4uvGv0zB4XpeU5JiJ N1/40IoZrSLyhLEPv7ckVni7vEG54xnITD/I15wRGMucCXEc5bwzthyBWcj91yvXWnma 78yt/mVG+KBxBmnZ13Zy0A3n9sWweVwNcwx4Y= DomainKey-Signature: a=rsa-sha1; c=nofws; d=googlemail.com; s=gamma; h=message-id:from:to:in-reply-to:content-type :content-transfer-encoding:mime-version:subject:date:references :x-mailer; b=ruxxjoG0u125ECo+kNT8Q3LoTy+RFXep16fYDtCkNwFdslQ840Fhqj9BhIs5Si+8n3 hekqe0QLqHXANwgFBUdQp+h48GukRDUZL+Cs8v8W7bStdenwRjMOadRVow6PU4ZCg/7a imS/B0aYyD5gy9hKyqr7ZqqGE3F2eZywzmw+4= Received: by 10.216.85.5 with SMTP id t5mr1217052wee.176.1270015130414; Tue, 30 Mar 2010 22:58:50 -0700 (PDT) Received: from [192.168.2.4] (79-72-144-23.dynamic.dsl.as9105.com [79.72.144.23]) by mx.google.com with ESMTPS id p10sm18879890gvf.22.2010.03.30.22.58.49 (version=TLSv1/SSLv3 cipher=RC4-MD5); Tue, 30 Mar 2010 22:58:49 -0700 (PDT) Message-Id: <8240AF16-496B-4027-8DDB-A68272122661@gmail.com> From: Valentin Mahrwald To: aries-dev@incubator.apache.org In-Reply-To: Content-Type: text/plain; charset=US-ASCII; format=flowed; delsp=yes Content-Transfer-Encoding: 7bit Mime-Version: 1.0 (Apple Message framework v936) Subject: Re: svn commit: r928178 - in /incubator/aries/trunk: blueprint/blueprint-core/src/main/java/org/apache/aries/blueprint/ blueprint/blueprint-core/src/main/java/org/apache/aries/blueprint/proxy/ blueprint/blueprint-testbundlea/src/main/java/org/apache/ Date: Wed, 31 Mar 2010 06:58:46 +0100 References: X-Mailer: Apple Mail (2.936) X-Virus-Checked: Checked by ClamAV on apache.org Yes, that is intended :) The new logic does the same as the old only a bit more efficient in that every exception that is not an Error or a RuntimeException is a declared exception. There is one subtle difference though. A RuntimeException that is declared in the throws clause of a method is still treated as a RuntimeException and not a declared Exception. This is similar to what EJB does and I believe correct for our purposes (Joe Bohn also raised this as a bug previously, ARIES 258). Regards, Valentin On 30 Mar 2010, at 21:04, Lin Sun wrote: > > I noticed that this removed the previous checking of whether the ex is > one of the method m declared exceptions. Method m is now not used at > all in this postCallWithException. Is that intended?