Top Description Fields Constructors Methods
tools.jackson.databind.exc

public Class InvalidNullException

extends MismatchedInputException
Class Inheritance
Imports
tools.jackson.core.JsonParser, tools.jackson.databind.DeserializationContext, .JavaType, .PropertyName, tools.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).

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 tools.jackson.databind.exc.MismatchedInputException:
_currentToken_targetType

Constructor Summary

AccessConstructor and Description
protected
protected

Method Summary

Modifier and TypeMethod and Description
public static InvalidNullException
public PropertyName
Inherited from tools.jackson.databind.exc.MismatchedInputException:
_currentTokenfromfromgetCurrentTokengetTargetTypesetCurrentTokensetTargetType

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 tools.jackson.databind.exc.MismatchedInputException.serialVersionUID.

Constructor Detail

InvalidNullExceptionback to summary
protected InvalidNullException(JsonParser p, String msg, PropertyName pname)
Since
2.19
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()