Class CommandNotFoundException

    • Constructor Summary

      Constructors 
      Constructor Description
      CommandNotFoundException​(Component message, java.lang.String command)
      Create an exception with a custom message.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.lang.String command()
      Returns the command that was queried for.
      • Methods inherited from class java.lang.Throwable

        addSuppressed, fillInStackTrace, getCause, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
    • Constructor Detail

      • CommandNotFoundException

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

      • command

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