com.fasterxml.jackson.databind.exc

Class UnrecognizedPropertyException

    • Constructor Detail

      • UnrecognizedPropertyException

        public UnrecognizedPropertyException(String msg,
                                     com.fasterxml.jackson.core.JsonLocation loc,
                                     Class<?> referringClass,
                                     String propName,
                                     Collection<Object> propertyIds)
    • Method Detail

      • from

        public static UnrecognizedPropertyException from(com.fasterxml.jackson.core.JsonParser jp,
                                         Object fromObjectOrClass,
                                         String propertyName,
                                         Collection<Object> propertyIds)
        Factory method used for constructing instances of this exception type.
        Parameters:
        jp - Underlying parser used for reading input being used for data-binding
        fromObjectOrClass - Reference to either instance of problematic type ( if available), or if not, type itself
        propertyName - Name of unrecognized property
        propertyIds - (optional, null if not available) Set of properties that type would recognize, if completely known: null if set can not be determined.

Copyright © 2014 FasterXML. All Rights Reserved.