Class UnexpectedEndOfInputException

All Implemented Interfaces:
Serializable

public class UnexpectedEndOfInputException extends StreamReadException
Specialized StreamReadException that is thrown when end-of-input is reached unexpectedly, usually within token being decoded, but possibly within intervening non-token content (for formats that have that, such as whitespace for textual formats)
See Also:
  • Field Details

    • _token

      protected final JsonToken _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

  • Method Details

    • 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