PkgAgentSystem.Messaging
Class UnknownAgentException
java.lang.Object
|
+--java.lang.Throwable
|
+--java.lang.Exception
|
+--PkgAgentSystem.AgentException
|
+--PkgAgentSystem.Messaging.MessageException
|
+--PkgAgentSystem.Messaging.UnknownAgentException
- All Implemented Interfaces:
- Serializable
- public class UnknownAgentException
- extends MessageException
Signifying that the recipient of the message is unknown. The agent, to which this message should have been
sent, is not registered by the agent.
Possible causes:
- The agent does not exist
- The agent was not created using "startAgent", but just with "new"
- Version:
- 1.0, 1.7.2000
- Author:
- Michael Sonntag
- See Also:
Message
,
AgentSystem.startAgent(AgentBase,String,boolean,AgentIdentity,PrivateKey,Serializable)
,
AgentSystem.startAgent(String,String,boolean,AgentIdentity,PrivateKey,Object,boolean)
, Serialized Form
Methods inherited from class java.lang.Object |
, clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
UnknownAgentException
public UnknownAgentException()
- Constructs a
UnknownAgentException
without a specified detail message.
UnknownAgentException
public UnknownAgentException(String detail)
- Constructs a
UnknownAgentException
with the specified detail message.
- Parameters:
detail
- the detail message
UnknownAgentException
public UnknownAgentException(String detail,
MessageType msg)
- Constructs a
UnknownAgentException
with the specified detail message and the message itself.
- Parameters:
detail
- the detail messagemsg
- the message which caused the exception
Submit a bug
Copyright 2001,2002 Michael Sonntag & Institute for Information Processing and Microprocessor Technology (FIM), Johannes-Kepler-University Linz, Altenbergerstr. 69, A-4040 Linz, Austria.