Class CommandException

    • Constructor Detail

      • CommandException

        public CommandException​(String message)
        Creates a new instance of this class with the specified detail message.
        Parameters:
        message - the detail message; may be null.
      • CommandException

        public CommandException​(String message,
                                Throwable cause)
        Creates a new instance of this class with the specified detail message and cause.
        Parameters:
        message - the detail message; may be null.
        cause - the cause; may be null.
    • Method Detail

      • getCause

        public Throwable getCause()
        Returns the cause of this throwable or null if the cause is nonexistent or unknown.
        Overrides:
        getCause in class Throwable
        Returns:
        the cause or null