public interface TaskFailureListener
extends java.util.EventListener
Listener providing a callback function to invoke when a task's execution encounters an error.
Operations defined here must be idempotent, as onTaskFailure
can be called multiple times.
Modifier and Type | Method and Description |
---|---|
void |
onTaskFailure(TaskContext context,
Throwable error) |
void onTaskFailure(TaskContext context, Throwable error)