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