public class JsonEOFException extends JsonParseException
JsonParseExceptionthat 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).
|Modifier and Type||Field and Description|
Type of token that was being decoded, if parser had enough information to recognize type (such as starting double-quote for Strings)
|Constructor and Description|
|Modifier and Type||Method and Description|
Accessor for possibly available information about token that was being decoded while encountering end of input.
getMessage, getProcessor, getRequestPayload, getRequestPayloadAsString, withParser, withRequestPayload
clearLocation, getLocation, getMessageSuffix, getOriginalMessage, toString
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace
protected final JsonToken _token
public JsonToken getTokenBeingDecoded()
Copyright © 2008–2020 FasterXML. All rights reserved.