Package fr.dyade.aaa.agent
Class UnknownAgentException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- fr.dyade.aaa.agent.UnknownAgentException
-
- All Implemented Interfaces:
Serializable
public class UnknownAgentException extends Exception
Thrown by Engine if a notification is sent to an unknown agent.- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description private static longserialVersionUIDprivate AgentIdunknownAgentId
-
Constructor Summary
Constructors Constructor Description UnknownAgentException()Constructs a newUnknownAgentExceptionwith no detail message.UnknownAgentException(String s)Constructs a newUnknownAgentExceptionwith the specified detail message.UnknownAgentException(String s, AgentId unknownAgentId)Constructs a newUnknownAgentExceptionwith the specified detail message and agent identifier.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description AgentIdgetUnknownAgentId()Returns the unknown agent identifier.-
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
-
-
-
Field Detail
-
serialVersionUID
private static final long serialVersionUID
- See Also:
- Constant Field Values
-
unknownAgentId
private AgentId unknownAgentId
-
-
Constructor Detail
-
UnknownAgentException
public UnknownAgentException()
Constructs a newUnknownAgentExceptionwith no detail message.
-
UnknownAgentException
public UnknownAgentException(String s)
Constructs a newUnknownAgentExceptionwith the specified detail message.- Parameters:
s- the detail message.
-
-
Method Detail
-
getUnknownAgentId
public AgentId getUnknownAgentId()
Returns the unknown agent identifier.- Returns:
- the unknown agent identifier
-
-