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:
java.io.Serializable
public class UnresolvedForwardReference extends JsonMappingException
Exception thrown during deserialization when there are object id that can't be resolved.- See Also:
- Serialized Form
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class com.fasterxml.jackson.databind.JsonMappingException
JsonMappingException.Reference
-
-
Constructor Summary
Constructors Constructor Description UnresolvedForwardReference(JsonParser p, java.lang.String msg)
UnresolvedForwardReference(JsonParser p, java.lang.String msg, JsonLocation loc, ReadableObjectId roid)
UnresolvedForwardReference(java.lang.String msg)
Deprecated.Since 2.7UnresolvedForwardReference(java.lang.String msg, JsonLocation loc, ReadableObjectId roid)
Deprecated.Since 2.7
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
addUnresolvedId(java.lang.Object id, java.lang.Class<?> type, JsonLocation where)
java.lang.String
getMessage()
Method is overridden so that we can properly inject description of problem path, if such is defined.ReadableObjectId
getRoid()
java.lang.Object
getUnresolvedId()
java.util.List<UnresolvedId>
getUnresolvedIds()
-
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, wrapWithPath
-
Methods inherited from class com.fasterxml.jackson.core.JsonProcessingException
clearLocation, getLocation, getOriginalMessage
-
-
-
-
Constructor Detail
-
UnresolvedForwardReference
public UnresolvedForwardReference(JsonParser p, java.lang.String msg, JsonLocation loc, ReadableObjectId roid)
- Since:
- 2.7
-
UnresolvedForwardReference
public UnresolvedForwardReference(JsonParser p, java.lang.String msg)
- Since:
- 2.7
-
UnresolvedForwardReference
@Deprecated public UnresolvedForwardReference(java.lang.String msg, JsonLocation loc, ReadableObjectId roid)
Deprecated.Since 2.7
-
UnresolvedForwardReference
@Deprecated public UnresolvedForwardReference(java.lang.String msg)
Deprecated.Since 2.7
-
-
Method Detail
-
getRoid
public ReadableObjectId getRoid()
-
getUnresolvedId
public java.lang.Object getUnresolvedId()
-
addUnresolvedId
public void addUnresolvedId(java.lang.Object id, java.lang.Class<?> type, JsonLocation where)
-
getUnresolvedIds
public java.util.List<UnresolvedId> getUnresolvedIds()
-
getMessage
public java.lang.String getMessage()
Description copied from class:JsonMappingException
Method is overridden so that we can properly inject description of problem path, if such is defined.- Overrides:
getMessage
in classJsonMappingException
- Returns:
- Original
message
preceded by optional prefix and followed by location information, message and location information separated by a linefeed
-
-