com.fasterxml.jackson.databind.deser

Class UnresolvedForwardReference

  • All Implemented Interfaces:
    Serializable


    public class UnresolvedForwardReference
    extends JsonMappingException
    Exception thrown during deserialization when there are object id that can't be resolved.
    Author:
    pgelinas
    See Also:
    Serialized Form
    • Constructor Detail

      • UnresolvedForwardReference

        public UnresolvedForwardReference(com.fasterxml.jackson.core.JsonParser p,
                                          String msg,
                                          com.fasterxml.jackson.core.JsonLocation loc,
                                          ReadableObjectId roid)
        Since:
        2.7
      • UnresolvedForwardReference

        public UnresolvedForwardReference(com.fasterxml.jackson.core.JsonParser p,
                                          String msg)
        Since:
        2.7
    • Method Detail

      • getUnresolvedId

        public Object getUnresolvedId()
      • addUnresolvedId

        public void addUnresolvedId(Object id,
                                    Class<?> type,
                                    com.fasterxml.jackson.core.JsonLocation where)
      • 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

Copyright © 2008–2024 FasterXML. All rights reserved.