code: public Node getNode(String relPath) throws PathNotFoundException, RepositoryException
     {
        checkValid();
  
        JCRPath itemPath = locationFactory.parseRelPath(relPath);
  
        ItemImpl node = dataManager.getItem(nodeData(), itemPath.getInternalPath().getEntries(), true, ItemType.NODE);
        if (node == null || !node.isNode())
        {
           throw new PathNotFoundException("Node not found " + (isRoot() ? "" : getLocation().getAsString(false)) + "/"
              + itemPath.getAsString(false));
        }
  
        return (NodeImpl)node;
     }
docs: {@inheritDoc}