// LockException if this node does not currently hold a lock (see
// upper code)
// or holds a lock for which this Session does not have the correct
// lock token
log.error("Cannot unlock path: " + absPath + " Jcr user: " + session.getUserID() + " has no lock token to do this. Lock was placed with user: " + lockOwner);
throw new IllegalUnlockException(lockOwner, absPath);
} catch (RepositoryException e) {
// This also catch UnsupportedRepositoryOperationException - we
// assume that implementation supports it (jackrabbit does)
throw new org.apache.jackrabbit.ocm.exception.RepositoryException(e.getMessage(), e);
}