Class ShortParser.ShortParseException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
java.lang.IllegalArgumentException
org.incendo.cloud.exception.parsing.ParserException
org.incendo.cloud.exception.parsing.NumberParseException
org.incendo.cloud.parser.standard.ShortParser.ShortParseException
- All Implemented Interfaces:
Serializable
- Enclosing class:
ShortParser<C>
@API(status=STABLE)
public static final class ShortParser.ShortParseException
extends NumberParseException
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionShortParseException(@NonNull String input, @NonNull ShortParser<?> parser, @NonNull CommandContext<?> commandContext) Create a newShortParser.ShortParseException. -
Method Summary
Methods inherited from class org.incendo.cloud.exception.parsing.NumberParseException
equals, hashCode, hasMax, hasMin, input, parser, rangeMethods 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
-
ShortParseException
@API(status=STABLE) public ShortParseException(@NonNull String input, @NonNull ShortParser<?> parser, @NonNull CommandContext<?> commandContext) Create a newShortParser.ShortParseException.- Parameters:
input- input stringparser- short parsercommandContext- command context
-
-
Method Details
-
numberType
Description copied from class:NumberParseExceptionReturns the number type.- Specified by:
numberTypein classNumberParseException- Returns:
- number type
-