Class UnresolvedForwardReference

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

public class UnresolvedForwardReference extends DatabindException
Exception thrown during deserialization when there are object id that can't be resolved.
See Also:
  • Constructor Details

    • UnresolvedForwardReference

      public UnresolvedForwardReference(tools.jackson.core.JsonParser p, String msg, tools.jackson.core.TokenStreamLocation loc, ReadableObjectId roid)
    • UnresolvedForwardReference

      public UnresolvedForwardReference(tools.jackson.core.JsonParser p, String msg)
  • Method Details

    • getRoid

      public ReadableObjectId getRoid()
    • getUnresolvedId

      public Object getUnresolvedId()
    • addUnresolvedId

      public void addUnresolvedId(Object id, Class<?> type, tools.jackson.core.TokenStreamLocation where)
    • getUnresolvedIds

      public List<UnresolvedId> getUnresolvedIds()
    • getMessage

      public String getMessage()
      Overrides:
      getMessage in class tools.jackson.core.JacksonException
    • fillInStackTrace

      public 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). To explicitly fill in stack traces method withStackTrace() needs to be called after construction.
      Overrides:
      fillInStackTrace in class Throwable
      Since:
      2.14
    • withStackTrace

      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