try {
boolean sessionScoped = EXCLUSIVE_SESSION.equals(reqLockInfo.getScope());
Lock jcrLock = ((Node)item).lock(reqLockInfo.isDeep(), sessionScoped);
// add reference to DAVSession for this lock
getSession().addReference(jcrLock.getLockToken());
return new JcrActiveLock(jcrLock, sessionScoped);
} catch (RepositoryException e) {
// UnsupportedRepositoryOperationException should not occur...
throw new JcrDavException(e);
}