jackrabbit-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Chetan Mehrotra <chetan.mehro...@gmail.com>
Subject Re: FW: [jackrabbit][core] Invalid node identifier
Date Wed, 24 Jul 2013 12:53:26 GMT
Hi Abhinav,

Looks reasonable. Can you create a bug for this?

Chetan Mehrotra


On Tue, Jul 23, 2013 at 7:51 PM, Abhinav Atul <aatul@adobe.com> wrote:
> Any help on the below issue would be highly appreciated.
>
> Thanks
> Abhinav
>
> -----Original Message-----
> From: Abhinav Atul [mailto:aatul@adobe.com]
> Sent: 22 July 2013 15:45
> To: Jackrabbit Users (users@jackrabbit.apache.org)
> Subject: [jackrabbit][core] Invalid node identifier
>
> Hi,
>    Is there some way to verify beforehand whether an identifier is a valid node identifier
without depending on concrete implementations? Or could the cause(IllegalArgumentException)
be embedded in org.apache.jackrabbit.core.SessionImpl#getNodeByIdentifier as below
>
>
>          } catch (IllegalArgumentException iae) {
> -            throw new RepositoryException("invalid identifier: " + id);
> +            throw new RepositoryException("invalid identifier: " + id,iae);
>          }
>
> Thanks
> Abhinav
>

Mime
View raw message