Class InvalidSyntaxException

All Implemented Interfaces:
Serializable

@API(status=STABLE) public class InvalidSyntaxException extends CommandParseException
Exception sent when a command sender inputs invalid command syntax
See Also:
  • Constructor Details

  • Method Details

    • correctSyntax

      public @NonNull String correctSyntax()
      Returns the correct syntax of the command.
      Returns:
      correct command syntax
    • getMessage

      public final String getMessage()
      Overrides:
      getMessage in class Throwable