Class BooleanArgument.BooleanParseException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
java.lang.IllegalArgumentException
cloud.commandframework.exceptions.parsing.ParserException
cloud.commandframework.arguments.standard.BooleanArgument.BooleanParseException
- All Implemented Interfaces:
Serializable
- Enclosing class:
- BooleanArgument<C>
@API(status=STABLE)
public static final class BooleanArgument.BooleanParseException
extends ParserException
Boolean parse exception
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionBooleanParseException
(@NonNull String input, boolean liberal, @NonNull CommandContext<?> context) Construct a new boolean parse exception -
Method Summary
Methods inherited from class cloud.commandframework.exceptions.parsing.ParserException
captionVariables, errorCaption, getArgumentParserClass, getContext, getMessage
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
BooleanParseException
public BooleanParseException(@NonNull String input, boolean liberal, @NonNull CommandContext<?> context) Construct a new boolean parse exception- Parameters:
input
- Inputliberal
- Whether the parser allows truthy and falsy values, or strictly true/falsecontext
- Command context
-
-
Method Details