fr.dyade.aaa.agent
Class ExceptionNotification

java.lang.Object
  extended by fr.dyade.aaa.agent.Notification
      extended by fr.dyade.aaa.agent.ExceptionNotification
All Implemented Interfaces:
java.io.Serializable, java.lang.Cloneable

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
detachable, detached, persistent
 
Constructor Summary
ExceptionNotification(AgentId agent, Notification not, java.lang.Exception exc)
          Allocates a new ExceptionNotification notification.
 
Method Summary
 java.lang.StringBuffer toString(java.lang.StringBuffer output)
          Appends a string image for this object to the StringBuffer parameter.
 
Methods inherited from class fr.dyade.aaa.agent.Notification
clone, getContext, getDeadNotificationAgentId, getExpiration, getMessageId, getPriority, isPersistent, setContext, setDeadNotificationAgentId, setExpiration, setPriority, toString
 
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.StringBuffer toString(java.lang.StringBuffer output)
Appends a string image for this object to the StringBuffer parameter.

Overrides:
toString in class Notification
Parameters:
output - buffer to fill in
Returns:
output buffer is returned


Copyright © 2011 ScalAgent D.T.. All Rights Reserved.