jackrabbit-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Abhinav Atul <aa...@adobe.com>
Subject FW: [jackrabbit][core] Invalid node identifier
Date Tue, 23 Jul 2013 14:21:00 GMT
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