java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
tools.jackson.core.JacksonException
tools.jackson.core.exc.StreamReadException
tools.jackson.core.exc.UnexpectedEndOfInputException
- All Implemented Interfaces:
Serializable
Specialized
StreamReadException that is thrown when end-of-input
is reached unexpectedly, usually within token being decoded, but possibly
within intervening non-token content (for formats that have that, such
as whitespace for textual formats)- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from class tools.jackson.core.JacksonException
JacksonException.Reference -
Field Summary
FieldsModifier and TypeFieldDescriptionprotected final JsonTokenType of token that was being decoded, if parser had enough information to recognize type (such as starting double-quote for Strings)Fields inherited from class tools.jackson.core.JacksonException
_location, _path, _processor -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionAccessor for possibly available information about token that was being decoded while encountering end of input.Methods inherited from class tools.jackson.core.exc.StreamReadException
processor, withParserMethods inherited from class tools.jackson.core.JacksonException
_appendPathDesc, _appendReferenceChain, _buildMessage, _exceptionMessage, clearLocation, getLocalizedMessage, getLocation, getMessage, getOriginalMessage, getPath, getPathReference, getPathReference, messageSuffix, prependPath, prependPath, prependPath, toString, withCause, wrapWithPath, wrapWithPath, wrapWithPath, wrapWithPathMethods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace
-
Field Details
-
_token
Type of token that was being decoded, if parser had enough information to recognize type (such as starting double-quote for Strings)
-
-
Constructor Details
-
UnexpectedEndOfInputException
-
-
Method Details
-
getTokenBeingDecoded
Accessor for possibly available information about token that was being decoded while encountering end of input.- Returns:
- JsonToken that was being decoded while encountering end-of-input
-