public class UnresolvedForwardReference extends JsonMappingException
JsonMappingException.Reference
_path, _processor
Constructor and Description |
---|
UnresolvedForwardReference(com.fasterxml.jackson.core.JsonParser p,
String msg) |
UnresolvedForwardReference(com.fasterxml.jackson.core.JsonParser p,
String msg,
com.fasterxml.jackson.core.JsonLocation loc,
ReadableObjectId roid) |
Modifier and Type | Method and Description |
---|---|
void |
addUnresolvedId(Object id,
Class<?> type,
com.fasterxml.jackson.core.JsonLocation where) |
UnresolvedForwardReference |
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).
|
String |
getMessage()
Method is overridden so that we can properly inject description
of problem path, if such is defined.
|
ReadableObjectId |
getRoid() |
Object |
getUnresolvedId() |
List<UnresolvedId> |
getUnresolvedIds() |
UnresolvedForwardReference |
withStackTrace()
"Mutant" factory method for filling in stack trace; needed since the default
constructors will not fill in stack trace.
|
_appendPathDesc, _buildMessage, from, from, from, from, from, from, from, from, fromUnexpectedIOE, getLocalizedMessage, getPath, getPathReference, getPathReference, getProcessor, prependPath, prependPath, prependPath, toString, withCause, wrapWithPath, wrapWithPath, wrapWithPath
clearLocation, getLocation, getMessageSuffix, getOriginalMessage
addSuppressed, getCause, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace
public UnresolvedForwardReference(com.fasterxml.jackson.core.JsonParser p, String msg, com.fasterxml.jackson.core.JsonLocation loc, ReadableObjectId roid)
public UnresolvedForwardReference(com.fasterxml.jackson.core.JsonParser p, String msg)
public ReadableObjectId getRoid()
public Object getUnresolvedId()
public void addUnresolvedId(Object id, Class<?> type, com.fasterxml.jackson.core.JsonLocation where)
public List<UnresolvedId> getUnresolvedIds()
public String getMessage()
JsonMappingException
getMessage
in class JsonMappingException
public UnresolvedForwardReference fillInStackTrace()
withStackTrace()
needs to be called after construction.fillInStackTrace
in class Throwable
public UnresolvedForwardReference withStackTrace()
Copyright © 2008–2022 FasterXML. All rights reserved.