Class UnresolvedForwardReference
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.io.IOException
com.fasterxml.jackson.core.JacksonException
com.fasterxml.jackson.core.JsonProcessingException
com.fasterxml.jackson.databind.DatabindException
com.fasterxml.jackson.databind.JsonMappingException
com.fasterxml.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 com.fasterxml.jackson.databind.JsonMappingException
JsonMappingException.Reference -
Constructor Summary
ConstructorsConstructorDescriptionUnresolvedForwardReference(JsonParser p, String msg, JsonLocation loc, ReadableObjectId roid) -
Method Summary
Modifier and TypeMethodDescriptionvoidaddUnresolvedId(Object id, Class<?> type, JsonLocation 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).Method is overridden so that we can properly inject description of problem path, if such is defined.getRoid()"Mutant" factory method for filling in stack trace; needed since the default constructors will not fill in stack trace.Methods inherited from class com.fasterxml.jackson.databind.JsonMappingException
from, from, from, from, from, from, from, from, fromUnexpectedIOE, getLocalizedMessage, getPath, getPathReference, getPathReference, getProcessor, prependPath, prependPath, prependPath, toString, withCause, wrapWithPath, wrapWithPath, wrapWithPathMethods inherited from class com.fasterxml.jackson.core.JsonProcessingException
clearLocation, getLocation, getOriginalMessageMethods inherited from class java.lang.Throwable
addSuppressed, getCause, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace
-
Constructor Details
-
UnresolvedForwardReference
public UnresolvedForwardReference(JsonParser p, String msg, JsonLocation loc, ReadableObjectId roid) - Since:
- 2.7
-
UnresolvedForwardReference
- Since:
- 2.7
-
-
Method Details
-
getRoid
-
getUnresolvedId
-
addUnresolvedId
-
getUnresolvedIds
-
getMessage
Description copied from class:JsonMappingExceptionMethod is overridden so that we can properly inject description of problem path, if such is defined.- Overrides:
getMessagein classJsonMappingException- Returns:
- Original
messagepreceded by optional prefix and followed by location information, message and location information separated by a linefeed
-
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
-