Class JsonEOFException

  • All Implemented Interfaces:
    java.io.Serializable

    public class JsonEOFException
    extends JsonParseException
    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:
    Serialized Form
    • 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