From users-return-16317-apmail-jackrabbit-users-archive=jackrabbit.apache.org@jackrabbit.apache.org Tue Oct 12 08:16:24 2010 Return-Path: Delivered-To: apmail-jackrabbit-users-archive@minotaur.apache.org Received: (qmail 15848 invoked from network); 12 Oct 2010 08:16:24 -0000 Received: from unknown (HELO mail.apache.org) (140.211.11.3) by 140.211.11.9 with SMTP; 12 Oct 2010 08:16:24 -0000 Received: (qmail 84986 invoked by uid 500); 12 Oct 2010 08:16:24 -0000 Delivered-To: apmail-jackrabbit-users-archive@jackrabbit.apache.org Received: (qmail 84910 invoked by uid 500); 12 Oct 2010 08:16:22 -0000 Mailing-List: contact users-help@jackrabbit.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: users@jackrabbit.apache.org Delivered-To: mailing list users@jackrabbit.apache.org Received: (qmail 84901 invoked by uid 99); 12 Oct 2010 08:16:22 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 12 Oct 2010 08:16:22 +0000 X-ASF-Spam-Status: No, hits=0.7 required=10.0 tests=SPF_NEUTRAL X-Spam-Check-By: apache.org Received-SPF: neutral (nike.apache.org: local policy) Received: from [150.101.137.143] (HELO ipmail05.adl6.internode.on.net) (150.101.137.143) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 12 Oct 2010 08:16:14 +0000 X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: AkMHAKa1s0x20TWK/2dsb2JhbACTVY18cr0khUgEikE Received: from ppp118-209-53-138.lns20.mel4.internode.on.net (HELO crater.homelinux.net) ([118.209.53.138]) by ipmail05.adl6.internode.on.net with ESMTP; 12 Oct 2010 18:45:51 +1030 Received: from comet-wifi.chaos.lan.au (ppp118-209-53-138.lns20.mel4.internode.on.net [118.209.53.138]) by crater.homelinux.net (Postfix) with ESMTPSA id B1A957B1264 for ; Tue, 12 Oct 2010 19:15:50 +1100 (EST) Content-Type: text/plain; charset=us-ascii Mime-Version: 1.0 (Apple Message framework v1081) Subject: Re: Dev request: ResourceException not chaining cause correctly From: Cory Prowse In-Reply-To: Date: Tue, 12 Oct 2010 19:15:50 +1100 Content-Transfer-Encoding: quoted-printable Message-Id: <8754F93B-4D8D-431F-AC35-5CC725EBCD5C@prowse.com> References: <0FB07288-D2F3-4097-85BB-581792C47CE6@prowse.com> To: users@jackrabbit.apache.org X-Mailer: Apple Mail (2.1081) X-Virus-Checked: Checked by ClamAV on apache.org No worries, will post the feature request in the next day or so. -- cory On 12/10/2010, at 6:50 PM, Jukka Zitting wrote: > Hi, >=20 > On Tue, Oct 12, 2010 at 9:34 AM, Cory Prowse wrote: >> In JCAManagedConnectionFactory, methods openSession and = createRepository >> both throw ResourceException without passing the cause exception in = the constructor. >=20 > This constructor is not available in J2EE version 1.3, so for now > we've been using the ResourceException.setLinkedException() method for > this (see JCR-761). To address your need we could either upgrade the > platform requirement to J2EE 1.4 or start using the J2SE method > Exception.initCause() instead of setLinkedException(). Can you file an > improvement issue in Jira about this? >=20 > BR, >=20 > Jukka Zitting