throw new LockException("Node not locked: " + node.safeGetJCRPath());
}
if (!session.equals(info.getLockHolder())) {
throw new LockException("Node not locked by session: " + node.safeGetJCRPath());
}
session.removeLockToken(info.getLockToken(session), false);
element.set(null);
info.setLive(false);
if (!info.sessionScoped) {