Hi Abhinav, Looks reasonable. Can you create a bug for this?
Chetan Mehrotra On Tue, Jul 23, 2013 at 7:51 PM, Abhinav Atul <[email protected]> wrote: > Any help on the below issue would be highly appreciated. > > Thanks > Abhinav > > -----Original Message----- > From: Abhinav Atul [mailto:[email protected]] > Sent: 22 July 2013 15:45 > To: Jackrabbit Users ([email protected]) > 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 >
