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:
java.io.Serializable
- Enclosing class:
- BooleanArgument<C>
public static final class BooleanArgument.BooleanParseException extends ParserException
Boolean parse exception- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description BooleanParseException(@NonNull java.lang.String input, boolean liberal, @NonNull CommandContext<?> context)
Construct a new boolean parse exception
-
Method Summary
-
Methods inherited from class cloud.commandframework.exceptions.parsing.ParserException
getArgumentParserClass, getContext, getMessage
-
-
-
-
Constructor Detail
-
BooleanParseException
public BooleanParseException(@NonNull java.lang.String input, boolean liberal, @NonNull CommandContext<?> context)
Construct a new boolean parse exception- Parameters:
input
- Inputliberal
- Whether or not the parser allows truthy and falsy values, or strictly true/falsecontext
- Command context
-
-