Class CommandNotFoundException

    • Constructor Detail

      • CommandNotFoundException

        public CommandNotFoundException​(Component message,
                                        String command)
        Create an exception with a custom message.
        Parameters:
        message - The message
        command - The command that was queried for
    • Method Detail

      • command

        public String command()
        Returns the command that was queried for.
        Returns:
        The command