Package jade.domain

Class FIPAException

    • Constructor Detail

      • FIPAException

        public FIPAException​(String message)
        Constructs a generic FIPAException. The ACL message performative is defaulted to not-understood.
        Parameters:
        message - is the content of the ACLMessage
      • FIPAException

        public FIPAException​(ACLMessage message)
        Constructs a FIPAException from the given ACL message.
        Parameters:
        message - is the ACL message representing this exception
    • Method Detail

      • getACLMessage

        public ACLMessage getACLMessage()
        Retrieve the ACL message whose content is represented by this exception.
        Returns:
        the ACLMessage representing this exception
      • setMessage

        protected void setMessage​(String message)
        Set the content of the ACL message representing this exception
        Parameters:
        message - is the content
      • getMessage

        public String getMessage()
        Get the content of the ACL message representing this exception
        Overrides:
        getMessage in class Throwable
        Returns:
        A string representing the message content that describes this FIPA exception.