public abstract class DatabindException extends JsonProcessingException
Added in 2.13 to eventually replace JsonMappingException;
for 2.x will allow limited use as target (as catching it will also catch mapping exception)
but will not be constructed or thrown directly.
_location| Modifier | Constructor and Description |
|---|---|
protected |
DatabindException(String msg) |
protected |
DatabindException(String msg,
JsonLocation loc) |
protected |
DatabindException(String msg,
JsonLocation loc,
Throwable rootCause) |
protected |
DatabindException(String msg,
Throwable rootCause) |
| Modifier and Type | Method and Description |
|---|---|
abstract void |
prependPath(Object referrer,
int index)
Method called to prepend a reference information in front of
current path
|
abstract void |
prependPath(Object referrer,
String fieldName)
Method called to prepend a reference information in front of
current path
|
clearLocation, getLocation, getMessage, getMessageSuffix, getOriginalMessage, getProcessor, toStringaddSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTraceprotected DatabindException(String msg, JsonLocation loc, Throwable rootCause)
protected DatabindException(String msg)
protected DatabindException(String msg, JsonLocation loc)
public abstract void prependPath(Object referrer, String fieldName)
public abstract void prependPath(Object referrer, int index)
Copyright © 2008–2021 FasterXML. All rights reserved.