Class ArgumentParseException

All Implemented Interfaces:
Serializable

public class ArgumentParseException extends ResponseException
Thrown when a raw argument string cannot be parsed into the expected type.

Automatically registers %input% as a placeholder so every response message can reference the offending input without extra boilerplate at the throw site.

Subclasses may call ResponseException.withPlaceholder(java.lang.String, java.lang.String) to add further context-specific placeholders on top of the base %input%.

See Also:
  • Constructor Details

    • ArgumentParseException

      public ArgumentParseException(ResponseKey responseKey, String input)
  • Method Details

    • getInput

      public String getInput()