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:
Serializable
- Enclosing class:
- FlagArgument<C>
Flag parse exception
- See Also:
- Serialized Form
-
Constructor Summary
ConstructorDescriptionFlagParseException(@NonNull String input, @NonNull FlagArgument.FailureReason failureReason, @NonNull CommandContext<?> context)
Construct a new flag 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
-
FlagParseException
public FlagParseException(@NonNull String input, @NonNull FlagArgument.FailureReason failureReason, @NonNull CommandContext<?> context)Construct a new flag parse exception- Parameters:
input
- InputfailureReason
- The reason of failurecontext
- Command context
-
-
Method Details
-
getInput
Get the supplied input- Returns:
- String value
-