jackrabbit-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Cory Prowse <c...@prowse.com>
Subject Re: Dev request: ResourceException not chaining cause correctly
Date Sat, 23 Oct 2010 02:57:24 GMT
It took me awhile bit I eventually lodged this feature request:
  https://issues.apache.org/jira/browse/JCR-2798

 -- Cory

On 12/10/2010, at 7:15 PM, Cory Prowse wrote:

> 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,
>> 
>> On Tue, Oct 12, 2010 at 9:34 AM, Cory Prowse <cory@prowse.com> wrote:
>>> In JCAManagedConnectionFactory, methods openSession and createRepository
>>> both throw ResourceException without passing the cause exception in the constructor.
>> 
>> 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?
>> 
>> BR,
>> 
>> Jukka Zitting
> 


Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message