Package modelarium.exceptions
Class AgentNotFoundException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
modelarium.exceptions.AgentNotFoundException
- All Implemented Interfaces:
Serializable
Exception for indicating that a requested agent could not be found.
This exception is thrown when an agent requested by name cannot be resolved, whether from the requesting thread's local agent set, the context cache, or the co-ordinator's global agent set.
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionAgentNotFoundException(String message) Constructs a new agent not found exception with the specified detail message.AgentNotFoundException(String message, Throwable cause) Constructs a new agent not found exception with the specified detail message and cause. -
Method Summary
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
AgentNotFoundException
Constructs a new agent not found exception with the specified detail message and cause.- Parameters:
message- the detail message describing which agent could not be found and who requested itcause- the underlying cause of the lookup failure
-
AgentNotFoundException
Constructs a new agent not found exception with the specified detail message.- Parameters:
message- the detail message describing which agent could not be found and who requested it
-