Return-Path: Delivered-To: apmail-ws-axis-dev-archive@www.apache.org Received: (qmail 79873 invoked from network); 5 Apr 2007 18:56:48 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 5 Apr 2007 18:56:48 -0000 Received: (qmail 72169 invoked by uid 500); 5 Apr 2007 18:56:52 -0000 Delivered-To: apmail-ws-axis-dev-archive@ws.apache.org Received: (qmail 72139 invoked by uid 500); 5 Apr 2007 18:56:52 -0000 Mailing-List: contact axis-dev-help@ws.apache.org; run by ezmlm Precedence: bulk Reply-To: axis-dev@ws.apache.org list-help: list-unsubscribe: List-Post: List-Id: Delivered-To: mailing list axis-dev@ws.apache.org Received: (qmail 72128 invoked by uid 99); 5 Apr 2007 18:56:52 -0000 Received: from herse.apache.org (HELO herse.apache.org) (140.211.11.133) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 05 Apr 2007 11:56:52 -0700 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_HELO_PASS X-Spam-Check-By: apache.org Received-SPF: pass (herse.apache.org: local policy) Received: from [12.130.29.202] (HELO eero.baz.org) (12.130.29.202) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 05 Apr 2007 11:56:44 -0700 Received: by eero.baz.org (Postfix, from userid 1017) id 75A0489A2E; Thu, 5 Apr 2007 14:56:23 -0400 (EDT) Received: from [192.168.1.4] (psc.progress.com [66.30.193.95]) by eero (tmda-ofmipd) with ESMTP; Thu, 05 Apr 2007 14:56:21 -0400 (EDT) Message-ID: <4615463B.9080306@thoughtcraft.com> Date: Thu, 05 Apr 2007 14:55:55 -0400 User-Agent: Thunderbird 1.5.0.10 (Windows/20070221) MIME-Version: 1.0 To: Axis-Dev Subject: [axis2] Making AxisFaults from Exceptions/Throwables (REFACTOR) Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit From: Glen Daniels X-Delivery-Agent: TMDA/1.0.2 (Bold Forbes) X-Virus-Checked: Checked by ClamAV on apache.org Hi all: Right now we have AxisFault(Throwable) as a public constructor. This means it's possible to wrap AxisFaults inside AxisFaults, and there are a few places where this can happen - this can make it really hard to unwind the cause of a fault. Axis 1.X deals with this by having the constructor be private/protected, and making sure that AxisFault.makeFault() is always used to get AxisFaults from Exceptions. I'm going to make this same change in Axis2, replacing all calls to "new AxisFault(exception)" with "AxisFault.makeFault(exception)". Holler if you have any issues with this? Thanks, --Glen --------------------------------------------------------------------- To unsubscribe, e-mail: axis-dev-unsubscribe@ws.apache.org For additional commands, e-mail: axis-dev-help@ws.apache.org