You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@jackrabbit.apache.org by Abhinav Atul <aa...@adobe.com> on 2013/07/23 16:21:00 UTC
FW: [jackrabbit][core] Invalid node identifier
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
Re: FW: [jackrabbit][core] Invalid node identifier
Posted by Chetan Mehrotra <ch...@gmail.com>.
Hi Abhinav,
Looks reasonable. Can you create a bug for this?
Chetan Mehrotra
On Tue, Jul 23, 2013 at 7:51 PM, Abhinav Atul <aa...@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
>