Class StringArgument.StringParseException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- java.lang.RuntimeException
-
- java.lang.IllegalArgumentException
-
- cloud.commandframework.exceptions.parsing.ParserException
-
- cloud.commandframework.arguments.standard.StringArgument.StringParseException
-
- All Implemented Interfaces:
java.io.Serializable
- Enclosing class:
- StringArgument<C>
public static final class StringArgument.StringParseException extends ParserException
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description StringParseException(@NonNull java.lang.String input, @NonNull StringArgument.StringMode stringMode, @NonNull CommandContext<?> context)
Construct a new string parse exception
-
Method Summary
Modifier and Type Method Description @NonNull java.lang.String
getInput()
Get the input provided by the sender@NonNull StringArgument.StringMode
getStringMode()
Get the string mode-
Methods inherited from class cloud.commandframework.exceptions.parsing.ParserException
getArgumentParserClass, getContext, getMessage
-
-
-
-
Constructor Detail
-
StringParseException
public StringParseException(@NonNull java.lang.String input, @NonNull StringArgument.StringMode stringMode, @NonNull CommandContext<?> context)
Construct a new string parse exception- Parameters:
input
- InputstringMode
- String modecontext
- Command context
-
-
Method Detail
-
getInput
public @NonNull java.lang.String getInput()
Get the input provided by the sender- Returns:
- Input
-
getStringMode
public @NonNull StringArgument.StringMode getStringMode()
Get the string mode- Returns:
- String mode
-
-