fipaos.agent.task.event
Class ChildFailureEvent
fipaos.agent.task.event.TaskEvent
|
+--fipaos.agent.task.event.ChildFailureEvent
- public class ChildFailureEvent
- extends TaskEvent
Represents an unprocessed event indicating that a child-Task has failed
ChildFailureEvent
public ChildFailureEvent(Task child, Throwable reason)
- Create event
- Parameters:
- child - Child-Task that has failed
- reason - Exception associated with failure
getChildTask
public Task getChildTask()
- Get the child-Task that has failed
- Returns: Child task that has failed
getFailureReason
public Throwable getFailureReason()
- Get the Exception associated with the failure
- Returns: Failure Exception
removeReferences
public void removeReferences()
- Removes all references to other objects to aid garbage collection
to Class java.lang.Throwable- Exception associated with failure
to Class fipaos.agent.task.Task
- child-Task that has failed