jackrabbit-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Abhinav Atul <aa...@adobe.com>
Subject [jackrabbit][core] Invalid node identifier
Date Mon, 22 Jul 2013 10:14:40 GMT
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
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message