public abstract class DatabindException
extends com.fasterxml.jackson.core.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.
Modifier | Constructor and Description |
---|---|
protected |
DatabindException(String msg) |
protected |
DatabindException(String msg,
com.fasterxml.jackson.core.JsonLocation loc) |
protected |
DatabindException(String msg,
com.fasterxml.jackson.core.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, toString
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace
protected DatabindException(String msg, com.fasterxml.jackson.core.JsonLocation loc, Throwable rootCause)
protected DatabindException(String msg)
protected DatabindException(String msg, com.fasterxml.jackson.core.JsonLocation loc)
public abstract void prependPath(Object referrer, String fieldName)
public abstract void prependPath(Object referrer, int index)
Copyright © 2008–2022 FasterXML. All rights reserved.