public class JsonEOFException extends JsonParseException
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).Modifier and Type | Field and Description |
---|---|
protected JsonToken |
_token
Type of token that was being decoded, if parser had enough information
to recognize type (such as starting double-quote for Strings)
|
_processor, _requestPayload
_location
Constructor and Description |
---|
JsonEOFException(JsonParser p,
JsonToken token,
String msg) |
Modifier and Type | Method and Description |
---|---|
JsonToken |
getTokenBeingDecoded()
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 JsonEOFException(JsonParser p, JsonToken token, String msg)
public JsonToken getTokenBeingDecoded()
Copyright © 2008–2017 FasterXML. All rights reserved.