public final class JsonReadException extends Exception
| Modifier and Type | Class and Description |
|---|---|
static class |
JsonReadException.PathPart |
| Modifier and Type | Field and Description |
|---|---|
String |
error |
com.fasterxml.jackson.core.JsonLocation |
location |
static long |
serialVersionUID |
| Constructor and Description |
|---|
JsonReadException(String error,
com.fasterxml.jackson.core.JsonLocation location) |
| Modifier and Type | Method and Description |
|---|---|
JsonReadException |
addArrayContext(int index) |
JsonReadException |
addFieldContext(String fieldName) |
static JsonReadException |
fromJackson(com.fasterxml.jackson.core.JsonProcessingException ex) |
String |
getMessage() |
static void |
toStringLocation(StringBuilder buf,
com.fasterxml.jackson.core.JsonLocation location) |
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toStringpublic static final long serialVersionUID
public final String error
public final com.fasterxml.jackson.core.JsonLocation location
public JsonReadException(String error, com.fasterxml.jackson.core.JsonLocation location)
public JsonReadException addFieldContext(String fieldName)
public JsonReadException addArrayContext(int index)
public String getMessage()
getMessage in class Throwablepublic static void toStringLocation(StringBuilder buf, com.fasterxml.jackson.core.JsonLocation location)
public static JsonReadException fromJackson(com.fasterxml.jackson.core.JsonProcessingException ex)
Copyright © 2014. All rights reserved.