com.parabon.client
Interface TaskExceptionListener

All Superinterfaces:
TaskEventListener

public interface TaskExceptionListener
extends TaskEventListener

Listener for task exception events.


Method Summary
 void exceptionThrown(TaskExceptionEvent event)
          Called when an exception occurred on a task.
 

Method Detail

exceptionThrown

void exceptionThrown(TaskExceptionEvent event)
Called when an exception occurred on a task. This method may be called multiple times for a single exception, as an exception marks a state of the system. Once a task enters the exception state, it stays in this state (with the same exception) until removed or modified.

The event given is valid only during the lifetime of the listener method invocation, and it should not be maintained outside this scope or used after the method completes; any attempt to do so will result in undefined behavior.

Parameters:
event - valid only for the length of the method invocation