Top Description Fields Constructors Methods
tools.jackson.databind.deser

public Class UnresolvedForwardReference

extends DatabindException
Class Inheritance
Imports
java.util.ArrayList, .Iterator, .List, tools.jackson.core.TokenStreamLocation, .JsonParser, tools.jackson.databind.DatabindException

Exception thrown during deserialization when there are object id that can't be resolved.

Field Summary

Modifier and TypeField and Description
private ReadableObjectId
private List<UnresolvedId>
private static final long

Constructor Summary

AccessConstructor and Description
public
public

Method Summary

Modifier and TypeMethod and Description
public void
public synchronized UnresolvedForwardReference
fillInStackTrace()

Overrides java.lang.Throwable.fillInStackTrace.

This method is overridden to prevent filling of the stack trace when constructors are called (unfortunately alternative constructors can not be used due to historical reasons).

public String
getMessage()

Overrides tools.jackson.core.JacksonException.getMessage.

Method is overridden so that we can properly inject description of problem path, if such is defined.

public ReadableObjectId
public Object
public List<UnresolvedId>
public UnresolvedForwardReference
withStackTrace()

"Mutant" factory method for filling in stack trace; needed since the default constructors will not fill in stack trace.

Inherited from tools.jackson.databind.DatabindException:
fromfromfromfromfromfromfromfromwrapWithPathwrapWithPath

Field Detail

_roidback to summary
private ReadableObjectId _roid
_unresolvedIdsback to summary
private List<UnresolvedId> _unresolvedIds
serialVersionUIDback to summary
private static final long serialVersionUID

Hides tools.jackson.databind.DatabindException.serialVersionUID.

Constructor Detail

UnresolvedForwardReferenceback to summary
public UnresolvedForwardReference(JsonParser p, String msg, TokenStreamLocation loc, ReadableObjectId roid)
UnresolvedForwardReferenceback to summary
public UnresolvedForwardReference(JsonParser p, String msg)

Method Detail

addUnresolvedIdback to summary
public void addUnresolvedId(Object id, Class<?> type, TokenStreamLocation where)
fillInStackTraceback to summary
public synchronized UnresolvedForwardReference fillInStackTrace()

Overrides java.lang.Throwable.fillInStackTrace.

This method is overridden to prevent filling of the stack trace when constructors are called (unfortunately alternative constructors can not be used due to historical reasons). To explicitly fill in stack traces method withStackTrace() needs to be called after construction.

Annotations
@Override
Since
2.14
getMessageback to summary
public String getMessage()

Overrides tools.jackson.core.JacksonException.getMessage.

Doc from tools.jackson.core.JacksonException.getMessage.

Method is overridden so that we can properly inject description of problem path, if such is defined.

Annotations
@Override
getRoidback to summary
public ReadableObjectId getRoid()
getUnresolvedIdback to summary
public Object getUnresolvedId()
getUnresolvedIdsback to summary
public List<UnresolvedId> getUnresolvedIds()
withStackTraceback to summary
public UnresolvedForwardReference withStackTrace()

"Mutant" factory method for filling in stack trace; needed since the default constructors will not fill in stack trace.

Since
2.14