def __init__(self, kwargs=None, countdown=None, exc=None,<EOL>eta=None, max_retries=None):
self.kwargs = kwargs<EOL>self.exc = exc<EOL>self.countdown = countdown<EOL>self.eta = eta<EOL>self.max_retries = max_retries<EOL>self.traceback = sys.exc_info()[<NUM_LIT:2>]<EOL>
Retry the task.

        This exception can be raised by a crawl task to tell the framework
        to retry it later on.

        :param kwargs:
          task keyword arguments to retry with
        :param countdown:
          time in seconds to delay the retry for.
        :param exc:
          custom exception to report when the max restart limit exceeded.
        :param eta:
          explicit time and date to run the retry for. Must be
          a :class:`~datetime.datetime` instance.
        :param max_retries:
          if set, overrides the default retry limit