Package | Description |
---|---|
com.fasterxml.jackson.core |
Main public API classes of the core streaming JSON
processor: most importantly
JsonFactory
used for constructing
JSON parser (JsonParser )
and generator
(JsonGenerator )
instances. |
com.fasterxml.jackson.core.exc |
Package for some of
JsonProcessingException
subtypes contained by streaming API. |
Modifier and Type | Field and Description |
---|---|
protected RequestPayload |
JsonParser._requestPayload
Optional container that holds the request payload which will be displayed on JSON parsing error.
|
Modifier and Type | Method and Description |
---|---|
RequestPayload |
JsonParseException.getRequestPayload() |
Modifier and Type | Method and Description |
---|---|
void |
JsonParser.setRequestPayloadOnError(RequestPayload payload)
Sets the payload to be passed if
JsonParseException is thrown. |
JsonParseException |
JsonParseException.withRequestPayload(RequestPayload payload)
Fluent method that may be used to assign payload to this exception,
to let recipient access it for diagnostics purposes.
|
Modifier and Type | Field and Description |
---|---|
protected RequestPayload |
StreamReadException._requestPayload
Optional payload that can be assigned to pass along for error reporting
or handling purposes.
|
Modifier and Type | Method and Description |
---|---|
RequestPayload |
StreamReadException.getRequestPayload()
Method that may be called to find payload that was being parsed, if
one was specified for parser that threw this Exception.
|
Modifier and Type | Method and Description |
---|---|
InputCoercionException |
InputCoercionException.withRequestPayload(RequestPayload p) |
abstract StreamReadException |
StreamReadException.withRequestPayload(RequestPayload payload)
Fluent method that may be used to assign payload to this exception,
to let recipient access it for diagnostics purposes.
|
Copyright © 2008–2021 FasterXML. All rights reserved.