Uses of Class
tools.jackson.core.exc.StreamReadException
Packages that use StreamReadException
Package
Description
Main public API classes of the core streaming JSON
processor: most importantly
JsonFactory
used for constructing
JSON parser (JsonParser)
and generator
(JsonGenerator)
instances.Base classes used by concrete Parser and Generator implementations;
contain functionality that is not specific to JSON or input
abstraction (byte vs char).
Package for subtypes of
JacksonException
defined and used by streaming API.JSON-specific parser and generator implementation classes that
Jackson defines and uses.
Utility classes used by Jackson Core functionality.
-
Uses of StreamReadException in tools.jackson.core
Methods in tools.jackson.core that return StreamReadExceptionModifier and TypeMethodDescriptionprotected StreamReadExceptionJsonParser._constructReadException(String msg) Helper method for constructingStreamReadExceptionbased on current state of the parserprotected StreamReadExceptionJsonParser._constructReadException(String msg, Object arg) protected StreamReadExceptionJsonParser._constructReadException(String msg, Object arg1, Object arg2) protected StreamReadExceptionJsonParser._constructReadException(String msg, Object arg1, Object arg2, Object arg3) protected StreamReadExceptionJsonParser._constructReadException(String msg, Throwable t) Helper method for constructingStreamReadExceptionbased on current state of the parser and indicating that the givenThrowableis the root cause.protected StreamReadExceptionJsonParser._constructReadException(String msg, TokenStreamLocation loc) Helper method for constructingStreamReadExceptionbased on current state of the parser, except for specifiedTokenStreamLocationfor problem location (which may not be the exact current location) -
Uses of StreamReadException in tools.jackson.core.base
Methods in tools.jackson.core.base that throw StreamReadExceptionModifier and TypeMethodDescriptionprotected final intParserBase._eofAsNextChar()protected <T> TParserBase._handleBase64MissingPadding(Base64Variant b64variant) protected <T> TParserMinimalBase._reportBadInputStream(int readLen) protected <T> TParserMinimalBase._reportBadReader(int readLen) protected <T> TParserMinimalBase._reportError(String msg) protected <T> TParserMinimalBase._reportError(String msg, Object arg) protected <T> TParserMinimalBase._reportError(String msg, Object arg1, Object arg2) protected <T> TParserMinimalBase._reportError(String msg, Object arg1, Object arg2, Object arg3) protected <T> TParserBase._reportInvalidBase64Char(Base64Variant b64variant, int ch, int bindex) protected <T> TParserBase._reportInvalidBase64Char(Base64Variant b64variant, int ch, int bindex, String msg) protected <T> TParserMinimalBase._reportInvalidEOF()protected <T> TParserMinimalBase._reportInvalidEOF(String msg, JsonToken currToken) protected <T> TParserMinimalBase._reportInvalidEOFInValue(JsonToken type) protected <T> TParserMinimalBase._reportInvalidNumber(String msg) Method called to throw an exception for input token that looks like a number based on first character(s), but is not valid according to rules of format.protected <T> TParserMinimalBase._reportInvalidSpace(int i) protected voidParserMinimalBase._reportInvalidUTF8Surrogate(int ch) Method called to throw an exception for invalid UTF-8 surrogate character: case where a surrogate character (between U+D800 and U+DFFF) is decoded from UTF-8 bytes (but NOT from JSON entity!)protected <T> TParserMinimalBase._reportMissingRootWS(int ch) protected <T> TParserMinimalBase._reportUnexpectedChar(int ch, String comment) protected <T> TParserMinimalBase._reportUnexpectedNumberChar(int ch, String comment) -
Uses of StreamReadException in tools.jackson.core.exc
Subclasses of StreamReadException in tools.jackson.core.excModifier and TypeClassDescriptionclassException type for read-side problems that are not direct decoding ("parsing") problems (those would be reported as basicStreamReadExceptions), but rather result from failed attempts to convert specific Java value out of valid but incompatible input value.classSpecializedStreamReadExceptionthat 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)Methods in tools.jackson.core.exc that return StreamReadExceptionModifier and TypeMethodDescriptionStreamReadException.withParser(JsonParser p) Fluent method that may be used to assign originatingJsonParser, to be accessed usingStreamReadException.processor(). -
Uses of StreamReadException in tools.jackson.core.json
Methods in tools.jackson.core.json that throw StreamReadExceptionModifier and TypeMethodDescriptionprivate voidJsonReadContext._checkDup(DupDetector dd, String name) private final voidUTF8StreamJsonParser._closeArrayScope()private final voidUTF8StreamJsonParser._closeObjectScope()private voidReaderBasedJsonParser._closeScope(int i) private voidUTF8DataInputJsonParser._closeScope(int i) private final JsonTokenUTF8StreamJsonParser._closeScope(int i) protected intJsonParserBase._decodeSurrogate(int hi, int lo) Validate thatlois a valid low surrogate (DC00-DFFF) and combine with high surrogatehiinto a supplementary code point.protected charJsonParserBase._handleUnrecognizedCharacterEscape(char ch) protected voidJsonParserBase._reportExtraEndMarker(int actCh) protected voidUTF8DataInputJsonParser._reportInvalidChar(int c) protected <T> TUTF8StreamJsonParser._reportInvalidChar(int c) protected voidUTF8DataInputJsonParser._reportInvalidInitial(int mask) protected <T> TUTF8StreamJsonParser._reportInvalidInitial(int mask) private voidUTF8DataInputJsonParser._reportInvalidOther(int mask) protected <T> TUTF8StreamJsonParser._reportInvalidOther(int mask) protected <T> TUTF8StreamJsonParser._reportInvalidOther(int mask, int ptr) protected voidJsonParserBase._reportMismatchedEndMarker(int actCh, char expCh) protected <T> TJsonParserBase._reportUnexpectedLowSurrogate(int ch) Report an error for a lone low surrogate encountered without a preceding high surrogate.protected voidJsonParserBase._throwUnquotedSpace(int i, String ctxtDesc) private final StringUTF8DataInputJsonParser.addName(int[] quads, int qlen, int lastQuadBytes) This is the main workhorse method used when we take a symbol table miss.private final StringUTF8StreamJsonParser.addName(int[] quads, int qlen, int lastQuadBytes) private final StringUTF8DataInputJsonParser.findName(int[] quads, int qlen, int lastQuad, int lastQuadBytes) private final StringUTF8DataInputJsonParser.findName(int q1, int lastQuadBytes) private final StringUTF8DataInputJsonParser.findName(int q1, int q2, int lastQuadBytes) private final StringUTF8DataInputJsonParser.findName(int q1, int q2, int q3, int lastQuadBytes) private final StringUTF8StreamJsonParser.findName(int[] quads, int qlen, int lastQuad, int lastQuadBytes) private final StringUTF8StreamJsonParser.findName(int q1, int lastQuadBytes) private final StringUTF8StreamJsonParser.findName(int q1, int q2, int lastQuadBytes) private final StringUTF8StreamJsonParser.findName(int q1, int q2, int q3, int lastQuadBytes) voidJsonReadContext.setCurrentName(String name) Method that parser is to call when it reads a name of Object property. -
Uses of StreamReadException in tools.jackson.core.util
Methods in tools.jackson.core.util that throw StreamReadExceptionModifier and TypeMethodDescriptionprotected voidSimpleStreamReadContext._checkDup(DupDetector dd, String name) voidSimpleStreamReadContext.setCurrentName(String name) Method called to indicate what the "current" name (Object property name just decoded) is: may also trigger duplicate detection.