Class IntegerParser.IntegerParseException
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.IntegerParser.IntegerParseException
- All Implemented Interfaces:
Serializable
- Enclosing class:
IntegerParser<C>
@API(status=STABLE)
public static final class IntegerParser.IntegerParseException
extends NumberParseException
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionIntegerParseException(@NonNull String input, @NonNull IntegerParser<?> parser, @NonNull CommandContext<?> commandContext) Create a newIntegerParser.IntegerParseException. -
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
-
IntegerParseException
@API(status=STABLE) public IntegerParseException(@NonNull String input, @NonNull IntegerParser<?> parser, @NonNull CommandContext<?> commandContext) Create a newIntegerParser.IntegerParseException.- Parameters:
input- input stringparser- integer parsercommandContext- command context
-
-
Method Details
-
numberType
Description copied from class:NumberParseExceptionReturns the number type.- Specified by:
numberTypein classNumberParseException- Returns:
- number type
-