Top Description Fields Constructors Methods
com.fasterxml.jackson.databind.exc

public Class InvalidNullException

extends MismatchedInputException
Class Inheritance
Imports
com.fasterxml.jackson.databind.DeserializationContext, .JavaType, .PropertyName, com.fasterxml.jackson.databind.util.ClassUtil

Exception thrown if a `null` value is being encountered for a property designed as "fail on null" property (see com.fasterxml.jackson.annotation.JsonSetter).
Since
2.9

Field Summary

Modifier and TypeField and Description
protected final PropertyName
_propertyName

Name of property, if known, for which null was encountered.

private static final long
Inherited from com.fasterxml.jackson.databind.exc.MismatchedInputException:
_targetType

Constructor Summary

AccessConstructor and Description
protected

Method Summary

Modifier and TypeMethod and Description
public static InvalidNullException
public PropertyName
Inherited from com.fasterxml.jackson.databind.exc.MismatchedInputException:
fromfromfromgetTargetTypesetTargetType

Field Detail

_propertyNameback to summary
protected final PropertyName _propertyName

Name of property, if known, for which null was encountered.

serialVersionUIDback to summary
private static final long serialVersionUID

Hides com.fasterxml.jackson.databind.JsonMappingException.serialVersionUID.

Constructor Detail

InvalidNullExceptionback to summary
protected InvalidNullException(DeserializationContext ctxt, String msg, PropertyName pname)

Method Detail

fromback to summary
public static InvalidNullException from(DeserializationContext ctxt, PropertyName name, JavaType type)
getPropertyNameback to summary
public PropertyName getPropertyName()