Top Description Fields Constructors Methods
tools.jackson.core.exc

public Class UnexpectedEndOfInputException

extends StreamReadException
Class Inheritance
Imports
tools.jackson.core.JsonParser, .JsonToken

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)

Field Summary

Modifier and TypeField and Description
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)

private static final long

Constructor Summary

AccessConstructor and Description
public

Method Summary

Modifier and TypeMethod and Description
public JsonToken

Returns:

JsonToken that was being decoded while encountering end-of-input
getTokenBeingDecoded
()

Accessor for possibly available information about token that was being decoded while encountering end of input.

Inherited from tools.jackson.core.exc.StreamReadException:
processorwithParser

Field Detail

_tokenback to summary
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)

serialVersionUIDback to summary
private static final long serialVersionUID

Hides tools.jackson.core.exc.StreamReadException.serialVersionUID.

Constructor Detail

UnexpectedEndOfInputExceptionback to summary
public UnexpectedEndOfInputException(JsonParser p, JsonToken token, String msg)

Method Detail

getTokenBeingDecodedback to summary
public JsonToken getTokenBeingDecoded()

Accessor for possibly available information about token that was being decoded while encountering end of input.

Returns:JsonToken

JsonToken that was being decoded while encountering end-of-input