ajanta.logger
Class AgentExceptionEvent

java.lang.Object
  |
  +--ajanta.logger.Event
        |
        +--ajanta.logger.AgentServerEvent
              |
              +--ajanta.logger.AgentExceptionEvent
All Implemented Interfaces:
java.io.Serializable

public class AgentExceptionEvent
extends AgentServerEvent

Agent Exception Event is an Event generated when an Exception is raised by the Agent. It is extended from the AgentServerEvent class

See Also:
Serialized Form

Field Summary
 
Fields inherited from class ajanta.logger.AgentServerEvent
agentServerURN
 
Constructor Summary
AgentExceptionEvent(long time, ajanta.naming.URN agServerURN, ajanta.naming.URN agentURN, ajanta.naming.URN gURN, java.lang.String exMessage)
          Constructor for the AgentExceptionEvent
 
Method Summary
 java.lang.String getExceptionMessage()
          Returns the description of the exception
 ajanta.naming.URN getGaurdianURN()
          Returns the URN of the gaurdian entity
 java.lang.String getMessage()
          Returns the type of event
 java.lang.String toString()
          Returns the string representation of the event
 
Methods inherited from class ajanta.logger.AgentServerEvent
getFormattedTime
 
Methods inherited from class ajanta.logger.Event
getEventLocation, getName, getTime
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

AgentExceptionEvent

public AgentExceptionEvent(long time,
                           ajanta.naming.URN agServerURN,
                           ajanta.naming.URN agentURN,
                           ajanta.naming.URN gURN,
                           java.lang.String exMessage)
Constructor for the AgentExceptionEvent

Parameters:
time - of event generation
agServerURN - URN of the agentServer
gURN - URN of the Gaurdian agent
exMessage - Message from the exception which caused failure
Method Detail

toString

public java.lang.String toString()
Returns the string representation of the event

Overrides:
toString in class AgentServerEvent

getGaurdianURN

public ajanta.naming.URN getGaurdianURN()
Returns the URN of the gaurdian entity


getMessage

public java.lang.String getMessage()
Returns the type of event


getExceptionMessage

public java.lang.String getExceptionMessage()
Returns the description of the exception