I think we should not hide this exception, if deleting the lock file fails, the next operation which needs the same lock will fail, hence I think we should rather fail early. I think it would also make sense to throw a checked exception to make the change in behavior explicit to all using applications though it's an API change then.