Class AgentUnknownException
java.lang.Object
java.lang.Throwable
java.lang.Exception
de.aristaflow.adept2.model.execution.AgentUnknownException
- All Implemented Interfaces:
Serializable
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:
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected final QualifiedAgentThe agent that wants to execute an activity on a specific runtime manager.protected final URI[]The URIs of the runtime manager a specific agent wants to execute an activity on. -
Constructor Summary
ConstructorsConstructorDescriptionAgentUnknownException(QualifiedAgent agent, URI[] runtimeManagerURIs) Creates a newAgentUnknownExceptionto indicate that the designated agent is not logged on to the designated runtime manager. -
Method Summary
Modifier and TypeMethodDescriptiongetAgent()Gets the agent that wants to execute an activity on a specific runtime manager but the runtime manager does not know the agent.URI[]Gets the URIs of the runtime manager a specific agent wants to execute an activity on but the agent is unknown.toString()Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace
-
Field Details
-
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.
-
-
Constructor Details
-
AgentUnknownException
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 Details
-
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.
-
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.
-
toString
-