public final class JsonReadException
extends java.lang.Exception
Modifier and Type | Class and Description |
---|---|
static class |
JsonReadException.PathPart |
Modifier and Type | Field and Description |
---|---|
java.lang.String |
error |
com.fasterxml.jackson.core.JsonLocation |
location |
static long |
serialVersionUID |
Constructor and Description |
---|
JsonReadException(java.lang.String error,
com.fasterxml.jackson.core.JsonLocation location) |
JsonReadException(java.lang.String error,
com.fasterxml.jackson.core.JsonLocation location,
java.lang.Throwable cause) |
Modifier and Type | Method and Description |
---|---|
JsonReadException |
addArrayContext(int index) |
JsonReadException |
addFieldContext(java.lang.String fieldName) |
static JsonReadException |
fromJackson(com.fasterxml.jackson.core.JsonProcessingException ex) |
java.lang.String |
getMessage() |
static void |
toStringLocation(java.lang.StringBuilder buf,
com.fasterxml.jackson.core.JsonLocation location) |
public static final long serialVersionUID
public final java.lang.String error
public final com.fasterxml.jackson.core.JsonLocation location
public JsonReadException(java.lang.String error, com.fasterxml.jackson.core.JsonLocation location)
public JsonReadException(java.lang.String error, com.fasterxml.jackson.core.JsonLocation location, java.lang.Throwable cause)
public JsonReadException addFieldContext(java.lang.String fieldName)
public JsonReadException addArrayContext(int index)
public java.lang.String getMessage()
getMessage
in class java.lang.Throwable
public static void toStringLocation(java.lang.StringBuilder buf, com.fasterxml.jackson.core.JsonLocation location)
public static JsonReadException fromJackson(com.fasterxml.jackson.core.JsonProcessingException ex)