Package com.fasterxml.jackson.core.io
Class JsonEOFException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- java.io.IOException
-
- com.fasterxml.jackson.core.JacksonException
-
- com.fasterxml.jackson.core.JsonProcessingException
-
- com.fasterxml.jackson.core.exc.StreamReadException
-
- com.fasterxml.jackson.core.JsonParseException
-
- com.fasterxml.jackson.core.io.JsonEOFException
-
- All Implemented Interfaces:
java.io.Serializable
public class JsonEOFException extends JsonParseException
SpecializedJsonParseExceptionthat 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:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description JsonEOFException(JsonParser p, JsonToken token, java.lang.String msg)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description JsonTokengetTokenBeingDecoded()Accessor 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, getOriginalMessage, toString
-
-
-
-
Constructor Detail
-
JsonEOFException
public JsonEOFException(JsonParser p, JsonToken token, java.lang.String msg)
-
-
Method Detail
-
getTokenBeingDecoded
public JsonToken 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
-
-