jackrabbit-oak-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "angela (JIRA)" <j...@apache.org>
Subject [jira] [Created] (OAK-213) Misleading exception message in NodeImpl#getParent
Date Tue, 31 Jul 2012 13:07:33 GMT
angela created OAK-213:

             Summary: Misleading exception message in NodeImpl#getParent
                 Key: OAK-213
                 URL: https://issues.apache.org/jira/browse/OAK-213
             Project: Jackrabbit Oak
          Issue Type: Bug
            Reporter: angela
            Priority: Minor

NodeImpl#getParent throws an exception with the following message if
the underlying NodeDelegate doesn't expose the parent node:

  throw new ItemNotFoundException("Root has no parent");

the parent might be null if it is not accessible and a null return 
value doesn't necessarily indicate that the current node is the root node.

This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira


View raw message