Catches any event and passes them into the task and failstate objects.
1 vararg data
the data to be passed in.