Package jason

Class JasonException

All Implemented Interfaces:
Serializable
Direct Known Subclasses:
NoOptionException, NoValueException, ReceiverNotFoundException, RevisionFailedException

public class JasonException extends Exception
See Also:
  • Field Details

    • WRONG_ARGS

      public static final Term WRONG_ARGS
    • UNKNOW_ERROR

      public static final Term UNKNOW_ERROR
    • error

      protected Term error
    • errorAnnots

      protected ListTerm errorAnnots
  • Constructor Details

    • JasonException

      public JasonException()
      Creates a new instance of JasonException without detail message.
    • JasonException

      public JasonException(String msg)
      Constructs an instance of JasonException with the specified detail message.
      Parameters:
      msg - the detail message.
    • JasonException

      public JasonException(String msg, Term error)
      Constructs an instance of JasonException with the specified detail message and error description term.
      Parameters:
      msg - the detail message.
      error - the term that details (in AgentSpeak) the error
    • JasonException

      public JasonException(String msg, Exception cause)
    • JasonException

      public JasonException(String msg, Term error, Exception cause)
  • Method Details