Class StringArgument.StringParseException

All Implemented Interfaces:
Serializable
Enclosing class:
StringArgument<C>

@API(status=STABLE) public static final class StringArgument.StringParseException extends ParserException
See Also:
  • Constructor Details

    • StringParseException

      public StringParseException(@NonNull String input, @NonNull StringArgument.StringMode stringMode, @NonNull CommandContext<?> context)
      Construct a new string parse exception
      Parameters:
      input - Input
      stringMode - String mode
      context - Command context
  • Method Details

    • getInput

      public @NonNull String getInput()
      Get the input provided by the sender
      Returns:
      Input
    • getStringMode

      public @NonNull StringArgument.StringMode getStringMode()
      Get the string mode
      Returns:
      String mode