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