Class CommandNotFound

All Implemented Interfaces:
Serializable

public class CommandNotFound extends RuntimeException
A result to be handled by the ResultHandler when no command could be mapped to user input
See Also:
  • Constructor Details

  • Method Details

    • getMessage

      public String getMessage()
      Overrides:
      getMessage in class Throwable
    • getWords

      public List<String> getWords()
      Gets a words in this exception.
      Returns:
      a words
    • getRegistrations

      public Map<String,CommandRegistration> getRegistrations()
      Gets command registrations known when this error was created.
      Returns:
      known command registrations
    • getText

      public String getText()
      Gets a raw text input.
      Returns:
      raw text input