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 <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 usingprocessor(). -
Uses of StreamReadException in tools.jackson.core.json
Methods in tools.jackson.core.json that throw StreamReadExceptionModifier and TypeMethodDescriptionprotected 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) protected <T> TUTF8StreamJsonParser._reportInvalidOther(int mask) protected <T> TUTF8StreamJsonParser._reportInvalidOther(int mask, int ptr) protected voidJsonParserBase._reportMismatchedEndMarker(int actCh, char expCh) protected voidJsonParserBase._throwUnquotedSpace(int i, String ctxtDesc) 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.