Class InvalidTypeIdException

  • All Implemented Interfaces:
    java.io.Serializable

    public class InvalidTypeIdException
    extends MismatchedInputException
    Exception thrown when resolution of a type id fails.
    Since:
    2.8
    See Also:
    Serialized Form
    • Field Detail

      • _baseType

        protected final JavaType _baseType
        Basetype for which subtype was to be resolved
      • _typeId

        protected final java.lang.String _typeId
        Type id that failed to be resolved to a subtype; `null` in cases where no type id was located (since 2.9).
    • Constructor Detail

      • InvalidTypeIdException

        public InvalidTypeIdException​(com.fasterxml.jackson.core.JsonParser p,
                                      java.lang.String msg,
                                      JavaType baseType,
                                      java.lang.String typeId)
    • Method Detail

      • from

        public static InvalidTypeIdException from​(com.fasterxml.jackson.core.JsonParser p,
                                                  java.lang.String msg,
                                                  JavaType baseType,
                                                  java.lang.String typeId)
      • getBaseType

        public JavaType getBaseType()
      • getTypeId

        public java.lang.String getTypeId()