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

public Class UnresolvedForwardReference

extends JsonMappingException
Class Inheritance
Imports
java.util.ArrayList, .Iterator, .List, com.fasterxml.jackson.core.JsonLocation, .JsonParser, com.fasterxml.jackson.databind.JsonMappingException, com.fasterxml.jackson.databind.deser.impl.ReadableObjectId

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

Field Summary

Modifier and TypeField and Description
private ReadableObjectId
private List<UnresolvedId>
private static final long
Inherited from com.fasterxml.jackson.databind.JsonMappingException:
_path_processor

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 com.fasterxml.jackson.databind.JsonMappingException.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 com.fasterxml.jackson.databind.JsonMappingException:
_appendPathDesc_buildMessagefromfromfromfromfromfromfromfromfromUnexpectedIOEgetLocalizedMessagegetPathgetPathReferencegetPathReferencegetProcessorprependPathprependPathprependPathtoStringwithCausewrapWithPathwrapWithPathwrapWithPath

Field Detail

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

Hides com.fasterxml.jackson.databind.JsonMappingException.serialVersionUID.

Constructor Detail

UnresolvedForwardReferenceback to summary
public UnresolvedForwardReference(JsonParser p, String msg, JsonLocation loc, ReadableObjectId roid)
Since
2.7
UnresolvedForwardReferenceback to summary
public UnresolvedForwardReference(JsonParser p, String msg)
Since
2.7

Method Detail

addUnresolvedIdback to summary
public void addUnresolvedId(Object id, Class<?> type, JsonLocation 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.

Returns:UnresolvedForwardReference

Doc from java.lang.Throwable.fillInStackTrace.

a reference to this Throwable instance.

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

Overrides com.fasterxml.jackson.databind.JsonMappingException.getMessage.

Doc from com.fasterxml.jackson.databind.JsonMappingException.getMessage.

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

Returns:String

Doc from com.fasterxml.jackson.core.JsonProcessingException.getMessage.

Original message preceded by optional prefix and followed by location information, message and location information separated by a linefeed

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