Modifier and Type | Field and Description |
---|---|
private static final long |
Access | Constructor and Description |
---|---|
public | |
public | JsonParseException(JsonParser
Parser in use when encountering issue reported p, String Base exception message to use msg)Constructor that uses current parsing location as location, and
sets processor (accessible via |
public | |
public | |
public | |
public | |
public |
Modifier and Type | Method and Description |
---|---|
public String | getMessage()
Overrides com. Overriding the getMessage() to include the request body |
public JsonParser | getProcessor()
Overrides com. Method that allows accessing underlying processor that triggered
this exception; typically either |
public RequestPayload | getRequestPayload()
Overrides com. Method that may be called to find payload that was being parsed, if one was specified for parser that threw this Exception. |
public String | getRequestPayloadAsString()
Overrides com. The method returns the String representation of the request payload if one was specified for parser that threw this Exception. |
public JsonParseException | Returns: This exception instance to allow call chainingParser instance to assign to this exception p)Implements abstract com. Fluent method that may be used to assign originating |
public JsonParseException | Returns: This exception instance to allow call chainingPayload to assign to this exception payload)Implements abstract com. Fluent method that may be used to assign payload to this exception, to let recipient access it for diagnostics purposes. |
serialVersionUID | back to summary |
---|---|
private static final long serialVersionUID Hides com. |
JsonParseException | back to summary |
---|---|
public JsonParseException(String msg) |
JsonParseException | back to summary |
---|---|
public JsonParseException(JsonParser p, String msg) Constructor that uses current parsing location as location, and
sets processor (accessible via
|
JsonParseException | back to summary |
---|---|
public JsonParseException(JsonParser p, String msg, Throwable rootCause) |
JsonParseException | back to summary |
---|---|
public JsonParseException(JsonParser p, String msg, JsonLocation loc) |
JsonParseException | back to summary |
---|---|
public JsonParseException(JsonParser p, String msg, JsonLocation loc, Throwable rootCause) |
JsonParseException | back to summary |
---|---|
public JsonParseException(String msg, JsonLocation loc)
Deprecated
|
JsonParseException | back to summary |
---|---|
public JsonParseException(String msg, JsonLocation loc, Throwable rootCause)
Deprecated
|
getMessage | back to summary |
---|---|
public String getMessage() Overrides com. Doc from com. Overriding the getMessage() to include the request body
|
getProcessor | back to summary |
---|---|
public JsonParser getProcessor() Overrides com. Doc from com. Method that allows accessing underlying processor that triggered
this exception; typically either
|
getRequestPayload | back to summary |
---|---|
public RequestPayload getRequestPayload() Overrides com. Doc from com. Method that may be called to find payload that was being parsed, if one was specified for parser that threw this Exception.
|
getRequestPayloadAsString | back to summary |
---|---|
public String getRequestPayloadAsString() Overrides com. Doc from com. The method returns the String representation of the request payload if one was specified for parser that threw this Exception. |
withParser | back to summary |
---|---|
public JsonParseException withParser(JsonParser p) Implements abstract com. Fluent method that may be used to assign originating Note `this` instance is modified and no new instance is constructed.
|
withRequestPayload | back to summary |
---|---|
public JsonParseException withRequestPayload(RequestPayload payload) Implements abstract com. Fluent method that may be used to assign payload to this exception, to let recipient access it for diagnostics purposes. Note `this` instance is modified and no new instance is constructed.
|