fr.dyade.aaa.agent

Class ExceptionNotification

Implemented Interfaces:
Cloneable, Serializable

public class ExceptionNotification
extends Notification

Notify by the engine to the sender of a notification when the corresponding reaction throws an exception.

See Also:
Engine

Field Summary

AgentId
agent
The target agent id.
Exception
exc
The exception thrown.
Notification
not
The failing notification.

Fields inherited from class fr.dyade.aaa.agent.Notification

persistent

Constructor Summary

ExceptionNotification(AgentId agent, Notification not, Exception exc)
Allocates a new ExceptionNotification notification.

Method Summary

String
toString()
Returns a string representation of this notification.

Methods inherited from class fr.dyade.aaa.agent.Notification

clone, getContext, setContext, toString

Field Details

agent

public AgentId agent
The target agent id.


exc

public Exception exc
The exception thrown.


not

public Notification not
The failing notification.

Constructor Details

ExceptionNotification

public ExceptionNotification(AgentId agent,
                             Notification not,
                             Exception exc)
Allocates a new ExceptionNotification notification.

Parameters:
agent - The target agent id.
not - The failing notification.
exc - The exception thrown.

Method Details

toString

public String toString()
Returns a string representation of this notification.
Overrides:
toString in interface Notification

Returns:
A string representation of this notification.


Copyright B) 2004 Scalagent - All rights reserved