Package com.fasterxml.jackson.core.io
Class JsonEOFException
- All Implemented Interfaces:
Serializable
Specialized
JsonParseException
that is thrown when end-of-input
is reached unexpectedly, either within token being decoded, or during
skipping of intervening white-space that is not between root-level
tokens (that is, is within JSON Object or JSON Array construct).- Since:
- 2.8
- See Also:
-
Field Summary
Modifier and TypeFieldDescriptionprotected final JsonToken
Type 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 com.fasterxml.jackson.core.exc.StreamReadException
_processor, _requestPayload
Fields inherited from class com.fasterxml.jackson.core.JsonProcessingException
_location
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionAccessor for possibly available information about token that was being decoded while encountering end of input.Methods inherited from class com.fasterxml.jackson.core.JsonParseException
getMessage, getProcessor, getRequestPayload, getRequestPayloadAsString, withParser, withRequestPayload
Methods inherited from class com.fasterxml.jackson.core.JsonProcessingException
clearLocation, getLocation, getMessageSuffix, getOriginalMessage, toString
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, 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
-
JsonEOFException
-
-
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
-