def METHOD_NAME(self):
    """
    Raise ClaimLockError if claiming lock failed
    """
    if not self._create_lock_dir():
        raise ClaimLockError("Failed to claim lock (the lock directory exists at {})".format(self.lock_dir))