Top Description Fields Constructors Methods
tools.jackson.module.kotlin

public final Class KotlinInvalidNullException

extends InvalidNullException
Class Inheritance
Imports
tools.jackson.core.JsonParser, tools.jackson.databind.DatabindException, .PropertyName, tools.jackson.databind.exc.InvalidNullException, org.jetbrains.annotations.NotNull, .Nullable

Specialized DatabindException sub-class used to indicate that a mandatory Kotlin creator parameter was missing or null.

Field Summary

Modifier and TypeField and Description
private final @NotNull String
Inherited from tools.jackson.databind.exc.InvalidNullException:
_propertyName

Constructor Summary

AccessConstructor and Description
pack-priv

Method Summary

Modifier and TypeMethod and Description
public @NotNull String

Returns:

Parameter name in Kotlin.
getKotlinPropertyName
()

public @NotNull PropertyName
public @NotNull Class<?>

Returns:

The Class object representing the class that declares the creator.
getTargetType
()

Overrides tools.jackson.databind.exc.MismatchedInputException.getTargetType.

Accessor for getting intended target type, with which input did not match, if known; `null` if not known for some reason.

Inherited from tools.jackson.databind.exc.InvalidNullException:
from

Field Detail

kotlinPropertyNameback to summary
private final @NotNull String kotlinPropertyName
Annotations
@NotNull

Constructor Detail

KotlinInvalidNullExceptionback to summary
pack-priv KotlinInvalidNullException(@Nullable String kotlinParameterName, @NotNull Class<?> valueClass, @NotNull JsonParser p, @NotNull String msg, @NotNull PropertyName pname)

Method Detail

getKotlinPropertyNameback to summary
public @NotNull String getKotlinPropertyName()
Returns:@NotNull String

Parameter name in Kotlin.

Annotations
@NotNull
getPropertyNameback to summary
public @NotNull PropertyName getPropertyName()

Overrides tools.jackson.databind.exc.InvalidNullException.getPropertyName.

Returns:@NotNull PropertyName

Parameter name in Jackson.

Annotations
@NotNull
@Override
getTargetTypeback to summary
public @NotNull Class<?> getTargetType()

Overrides tools.jackson.databind.exc.MismatchedInputException.getTargetType.

Doc from tools.jackson.databind.exc.MismatchedInputException.getTargetType.

Accessor for getting intended target type, with which input did not match, if known; `null` if not known for some reason.

Returns:@NotNull Class<?>

The Class object representing the class that declares the creator.

Annotations
@NotNull
@Override