Class BooleanArgument.BooleanParseException

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

public static final class BooleanArgument.BooleanParseException extends ParserException
Boolean parse exception
See Also:
  • Constructor Details

    • BooleanParseException

      public BooleanParseException(@NonNull String input, boolean liberal, @NonNull CommandContext<?> context)
      Construct a new boolean parse exception
      Parameters:
      input - Input
      liberal - Whether or not the parser allows truthy and falsy values, or strictly true/false
      context - Command context
  • Method Details

    • getInput

      public String getInput()
      Get the supplied input
      Returns:
      String value
    • isLiberal

      public boolean isLiberal()
      Get the liberal boolean value
      Returns:
      Liberal value