code: public void rename(NodeData data) throws RepositoryException, UnsupportedOperationException,
        InvalidItemStateException, IllegalStateException
     {
  
        checkIfOpened();
        try
        {
           if (renameNode(data) <= 0)
           {
              throw new JCRInvalidItemStateException("(rename) Node not found " + data.getQPath().getAsString() + " "
                 + data.getIdentifier() + ". Probably was deleted by another session ", data.getIdentifier(),
                 ItemState.RENAMED);
           }
        }
        catch (SQLException e)
        {
           if (LOG.isDebugEnabled())
           {
              LOG.error("Property add. Database error: " + e, e);
           }
           exceptionHandler.handleAddException(e, data);
        }
     }
docs: {@inheritDoc}