com.fasterxml.jackson.databind.exc

Class ValueInstantiationException

  • All Implemented Interfaces:
    Serializable


    public class ValueInstantiationException
    extends JsonMappingException
    Exception type used for generic failures during processing by ValueInstantiator: commonly used to wrap exceptions thrown by constructor or factory method.

    Note that this type is sibling of MismatchedInputException and InvalidDefinitionException since it is not clear if problem is with input, or type definition (or possibly neither). It is recommended that if either specific input, or type definition problem is known, a more accurate exception is used instead.

    Since:
    2.10
    See Also:
    Serialized Form
    • Field Detail

    • Constructor Detail

      • ValueInstantiationException

        protected ValueInstantiationException(com.fasterxml.jackson.core.JsonParser p,
                                              String msg,
                                              JavaType type,
                                              Throwable cause)
      • ValueInstantiationException

        protected ValueInstantiationException(com.fasterxml.jackson.core.JsonParser p,
                                              String msg,
                                              JavaType type)

Copyright © 2008–2021 FasterXML. All rights reserved.