fr.dyade.aaa.agent
Class ExceptionNotification

java.lang.Object
  extended byfr.dyade.aaa.agent.Notification
      extended byfr.dyade.aaa.agent.ExceptionNotification
All Implemented Interfaces:
java.lang.Cloneable, java.io.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, Serialized Form

Field Summary
 AgentId agent
          The target agent id.
 java.lang.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, java.lang.Exception exc)
          Allocates a new ExceptionNotification notification.
 
Method Summary
 java.lang.String toString()
          Returns a string representation of this notification.
 
Methods inherited from class fr.dyade.aaa.agent.Notification
clone, getContext, setContext
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

agent

public AgentId agent
The target agent id.


not

public Notification not
The failing notification.


exc

public java.lang.Exception exc
The exception thrown.

Constructor Detail

ExceptionNotification

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

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

toString

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

Overrides:
toString in class Notification
Returns:
A string representation of this notification.


Copyright ? 2004 Scalagent - All rights reserved