Top Description Fields Constructors Methods
com.fasterxml.jackson.databind

public abstract Class DatabindException

extends JsonProcessingException
Class Inheritance
Known Direct Subclasses
com.fasterxml.jackson.databind.JsonMappingException
Imports
com.fasterxml.jackson.core.JsonLocation, .JsonProcessingException

Intermediate base class for all databind level processing problems, as distinct from stream-level problems or I/O issues below.

Added in 2.13 to eventually replace com.fasterxml.jackson.databind.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.

Since
2.13

Field Summary

Modifier and TypeField and Description
private static final long
Inherited from com.fasterxml.jackson.core.JsonProcessingException:
_location

Constructor Summary

AccessConstructor and Description
protected
protected
protected
protected

Method Summary

Modifier and TypeMethod and Description
public abstract void
prependPath(Object referrer, String fieldName)

Method called to prepend a reference information in front of current path

public abstract void
prependPath(Object referrer, int index)

Method called to prepend a reference information in front of current path

Inherited from com.fasterxml.jackson.core.JsonProcessingException:
clearLocationgetLocationgetMessagegetMessageSuffixgetOriginalMessagegetProcessortoString

Field Detail

serialVersionUIDback to summary
private static final long serialVersionUID

Hides com.fasterxml.jackson.core.JsonProcessingException.serialVersionUID.

Constructor Detail

DatabindExceptionback to summary
protected DatabindException(String msg, JsonLocation loc, Throwable rootCause)
DatabindExceptionback to summary
protected DatabindException(String msg)
DatabindExceptionback to summary
protected DatabindException(String msg, JsonLocation loc)
DatabindExceptionback to summary
protected DatabindException(String msg, Throwable rootCause)

Method Detail

prependPathback to summary
public abstract void prependPath(Object referrer, String fieldName)

Method called to prepend a reference information in front of current path

prependPathback to summary
public abstract void prependPath(Object referrer, int index)

Method called to prepend a reference information in front of current path