Class AgentUnknownException
- java.lang.Object
- 
- java.lang.Throwable
- 
- java.lang.Exception
- 
- de.aristaflow.adept2.model.execution.AgentUnknownException
 
 
 
- 
- All Implemented Interfaces:
- Serializable
 
 public class AgentUnknownException extends Exception This exception indicates that the an agent is not known to a specific runtime manager and therefore can not execute activities on this runtime manager. Each agent must be logged on to execute activities. This is done by providing the corresponding client session factory which is used for signalling the states of an activity to the execution manager.- Author:
- Ulrich Kreher
- See Also:
- Serialized Form
 
- 
- 
Field SummaryFields Modifier and Type Field Description protected QualifiedAgentagentThe agent that wants to execute an activity on a specific runtime manager.protected URI[]runtimeManagerURIsThe URIs of the runtime manager a specific agent wants to execute an activity on.
 - 
Constructor SummaryConstructors Constructor Description AgentUnknownException(QualifiedAgent agent, URI[] runtimeManagerURIs)Creates a newAgentUnknownExceptionto indicate that the designated agent is not logged on to the designated runtime manager.
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description QualifiedAgentgetAgent()Gets the agent that wants to execute an activity on a specific runtime manager but the runtime manager does not know the agent.URI[]getRuntimeManagerURIs()Gets the URIs of the runtime manager a specific agent wants to execute an activity on but the agent is unknown.StringtoString()- 
Methods inherited from class java.lang.ThrowableaddSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace
 
- 
 
- 
- 
- 
Field Detail- 
agentprotected final QualifiedAgent agent The agent that wants to execute an activity on a specific runtime manager.
 - 
runtimeManagerURIsprotected final URI[] runtimeManagerURIs The URIs of the runtime manager a specific agent wants to execute an activity on.
 
- 
 - 
Constructor Detail- 
AgentUnknownExceptionpublic AgentUnknownException(QualifiedAgent agent, URI[] runtimeManagerURIs) Creates a newAgentUnknownExceptionto indicate that the designated agent is not logged on to the designated runtime manager.- Parameters:
- agent- The agent that wants to execute an activity on a specific runtime manager.
- runtimeManagerURIs- The URIs of the runtime manager a specific agent wants to execute an activity on.
 
 
- 
 - 
Method Detail- 
getAgentpublic QualifiedAgent getAgent() Gets the agent that wants to execute an activity on a specific runtime manager but the runtime manager does not know the agent.- Returns:
- The agent that wants to execute an activity on a specific runtime manager.
 
 - 
getRuntimeManagerURIspublic URI[] getRuntimeManagerURIs() Gets the URIs of the runtime manager a specific agent wants to execute an activity on but the agent is unknown.- Returns:
- The URIs of the runtime manager a specific agent wants to execute an activity on.
 
 
- 
 
-