Class IllegalActionException

    • Constructor Detail

      • IllegalActionException

        public IllegalActionException​(java.lang.String detail)
        Construct an exception with a detail message.
        Parameters:
        detail - The message.
      • IllegalActionException

        public IllegalActionException​(Nameable object)
        Construct an exception with a detail message that is only the name of the argument.
        Parameters:
        object - The object.
      • IllegalActionException

        public IllegalActionException​(Nameable object,
                                      java.lang.String detail)
        Construct an exception with a detail message that includes the name of the first argument.
        Parameters:
        object - The object.
        detail - The message.
      • IllegalActionException

        public IllegalActionException​(Nameable object,
                                      java.lang.Throwable cause,
                                      java.lang.String detail)
        Construct an exception with a detail message that includes the name of the first argument.
        Parameters:
        object - The object.
        cause - The cause of this exception, or null if the cause is not known or nonexistent.
        detail - The message.
      • IllegalActionException

        public IllegalActionException​(Nameable object1,
                                      Nameable object2)
        Construct an exception with a detail message that consists of only the names of the object1 and object2 arguments. If one or more of the parameters are null, then the message of the exception is adjusted accordingly.
        Parameters:
        object1 - The first object.
        object2 - The second object.
      • IllegalActionException

        public IllegalActionException​(Nameable object1,
                                      Nameable object2,
                                      java.lang.String detail)
        Construct an exception with a detail message that includes the names of the first two arguments plus the third argument string. If one or more of the parameters are null, then the message of the exception is adjusted accordingly.
        Parameters:
        object1 - The first object.
        object2 - The second object.
        detail - The message.
      • IllegalActionException

        public IllegalActionException​(Nameable object1,
                                      Nameable object2,
                                      java.lang.Throwable cause,
                                      java.lang.String detail)
        Construct an exception with a detail message that includes the names of the first two arguments plus the third argument string. If the cause argument is non-null, then the message of this exception will include the message of the cause argument. The stack trace of the cause argument is used when we print the stack trace of this exception. If one or more of the parameters are null, then the message of the exception is adjusted accordingly.
        Parameters:
        object1 - The first object.
        object2 - The second object.
        cause - The cause of this exception, or null if the cause is not known or nonexistent.
        detail - The message.