Class BooleanParser.BooleanParseException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
java.lang.IllegalArgumentException
org.incendo.cloud.exception.parsing.ParserException
org.incendo.cloud.parser.standard.BooleanParser.BooleanParseException
- All Implemented Interfaces:
Serializable
- Enclosing class:
BooleanParser<C>
@API(status=STABLE)
public static final class BooleanParser.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 org.incendo.cloud.exception.parsing.ParserException
argumentParserClass, captionVariables, context, errorCaption, formatCaption, getMessageMethods 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