Class FlagArgument.FlagParseException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- java.lang.RuntimeException
-
- java.lang.IllegalArgumentException
-
- cloud.commandframework.exceptions.parsing.ParserException
-
- cloud.commandframework.arguments.compound.FlagArgument.FlagParseException
-
- All Implemented Interfaces:
java.io.Serializable
- Enclosing class:
- FlagArgument<C>
public static final class FlagArgument.FlagParseException extends ParserException
Flag parse exception- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description FlagParseException(@NonNull java.lang.String input, @NonNull FlagArgument.FailureReason failureReason, @NonNull CommandContext<?> context)
Construct a new flag parse exception
-
Method Summary
Modifier and Type Method Description java.lang.String
getInput()
Get the supplied input-
Methods inherited from class cloud.commandframework.exceptions.parsing.ParserException
getArgumentParserClass, getContext, getMessage
-
-
-
-
Constructor Detail
-
FlagParseException
public FlagParseException(@NonNull java.lang.String input, @NonNull FlagArgument.FailureReason failureReason, @NonNull CommandContext<?> context)
Construct a new flag parse exception- Parameters:
input
- InputfailureReason
- The reason of failurecontext
- Command context
-
-