Class 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 Detail

      • agent

        protected final QualifiedAgent agent
        The agent that wants to execute an activity on a specific runtime manager.
      • runtimeManagerURIs

        protected final URI[] runtimeManagerURIs
        The URIs of the runtime manager a specific agent wants to execute an activity on.
    • Constructor Detail

      • AgentUnknownException

        public AgentUnknownException​(QualifiedAgent agent,
                                     URI[] runtimeManagerURIs)
        Creates a new AgentUnknownException to 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

      • getAgent

        public 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.
      • getRuntimeManagerURIs

        public 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.