Class UnknownAgentException

  • All Implemented Interfaces:
    Serializable

    public class UnknownAgentException
    extends Exception
    Thrown by Engine if a notification is sent to an unknown agent.
    See Also:
    Serialized Form
    • Constructor Detail

      • UnknownAgentException

        public UnknownAgentException()
        Constructs a new UnknownAgentException with no detail message.
      • UnknownAgentException

        public UnknownAgentException​(String s)
        Constructs a new UnknownAgentException with the specified detail message.
        Parameters:
        s - the detail message.
      • UnknownAgentException

        public UnknownAgentException​(String s,
                                     AgentId unknownAgentId)
        Constructs a new UnknownAgentException with the specified detail message and agent identifier.
        Parameters:
        s - the detail message
        unknownAgentId - identifier of the unknown agent
    • Method Detail

      • getUnknownAgentId

        public AgentId getUnknownAgentId()
        Returns the unknown agent identifier.
        Returns:
        the unknown agent identifier