def __init__(self, task, error):
WorkflowException.__init__(self, task.task_spec, error)<EOL>self.task = task<EOL>
Exception initialization.

:param sender: the task that threw the exception
:type sender: Task
:param error: a human readable error message
:type error: string