Class InvalidDefinitionException

  • All Implemented Interfaces:
    java.io.Serializable

    public class InvalidDefinitionException
    extends JsonMappingException
    Intermediate exception type used as the base class for all JsonMappingExceptions that are due to problems with target type definition; usually a problem with annotations used on a class or its properties. This is in contrast to MismatchedInputException which signals a problem with input to map.
    Since:
    2.9
    See Also:
    Serialized Form
    • Constructor Detail

      • InvalidDefinitionException

        protected InvalidDefinitionException​(com.fasterxml.jackson.core.JsonParser p,
                                             java.lang.String msg,
                                             JavaType type)
      • InvalidDefinitionException

        protected InvalidDefinitionException​(com.fasterxml.jackson.core.JsonGenerator g,
                                             java.lang.String msg,
                                             JavaType type)
      • InvalidDefinitionException

        protected InvalidDefinitionException​(com.fasterxml.jackson.core.JsonParser p,
                                             java.lang.String msg,
                                             BeanDescription bean,
                                             BeanPropertyDefinition prop)
      • InvalidDefinitionException

        protected InvalidDefinitionException​(com.fasterxml.jackson.core.JsonGenerator g,
                                             java.lang.String msg,
                                             BeanDescription bean,
                                             BeanPropertyDefinition prop)