Class StringParser.StringParseException
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.StringParser.StringParseException
- All Implemented Interfaces:
Serializable
- Enclosing class:
StringParser<C>
@API(status=STABLE)
public static final class StringParser.StringParseException
extends ParserException
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionStringParseException(@NonNull String input, @NonNull StringParser.StringMode stringMode, @NonNull CommandContext<?> context) Construct a new string parse exception -
Method Summary
Modifier and TypeMethodDescriptioninput()Returns the input provided by the sender.Returns the string mode.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
-
StringParseException
public StringParseException(@NonNull String input, @NonNull StringParser.StringMode stringMode, @NonNull CommandContext<?> context) Construct a new string parse exception- Parameters:
input- InputstringMode- String modecontext- Command context
-
-
Method Details
-
input
Returns the input provided by the sender.- Returns:
- input
-
stringMode
Returns the string mode.- Returns:
- string mode
-