java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
tools.jackson.core.JacksonException
tools.jackson.databind.DatabindException
tools.jackson.databind.deser.UnresolvedForwardReference
- All Implemented Interfaces:
Serializable
Exception thrown during deserialization when there are object id that can't
be resolved.
- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from class tools.jackson.core.JacksonException
JacksonException.Reference -
Field Summary
Fields inherited from class tools.jackson.core.JacksonException
_location, _path, _processor -
Constructor Summary
ConstructorsConstructorDescriptionUnresolvedForwardReference(JsonParser p, String msg, TokenStreamLocation loc, ReadableObjectId roid) -
Method Summary
Modifier and TypeMethodDescriptionvoidaddUnresolvedId(Object id, Class<?> type, TokenStreamLocation where) 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).getRoid()"Mutant" factory method for filling in stack trace; needed since the default constructors will not fill in stack trace.Methods inherited from class tools.jackson.databind.DatabindException
from, from, from, from, from, from, from, from, wrapWithPath, wrapWithPathMethods inherited from class tools.jackson.core.JacksonException
_appendPathDesc, _appendReferenceChain, _buildMessage, _exceptionMessage, clearLocation, getLocalizedMessage, getLocation, getOriginalMessage, getPath, getPathReference, getPathReference, messageSuffix, prependPath, prependPath, prependPath, processor, toString, withCause, wrapWithPath, wrapWithPath, wrapWithPath, wrapWithPathMethods inherited from class java.lang.Throwable
addSuppressed, getCause, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace
-
Constructor Details
-
UnresolvedForwardReference
public UnresolvedForwardReference(JsonParser p, String msg, TokenStreamLocation loc, ReadableObjectId roid) -
UnresolvedForwardReference
-
-
Method Details
-
getRoid
-
getUnresolvedId
-
addUnresolvedId
-
getUnresolvedIds
-
getMessage
- Overrides:
getMessagein classJacksonException
-
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 methodwithStackTrace()needs to be called after construction.- Overrides:
fillInStackTracein classThrowable- Since:
- 2.14
-
withStackTrace
"Mutant" factory method for filling in stack trace; needed since the default constructors will not fill in stack trace.- Since:
- 2.14
-