Skip to content

Commit

Permalink
Changed the base class of MissingKotlinParameterException to InvalidN…
Browse files Browse the repository at this point in the history
…ullException
  • Loading branch information
k163377 committed Jan 18, 2025
1 parent 1659969 commit 35de158
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ package com.fasterxml.jackson.module.kotlin

import com.fasterxml.jackson.core.JsonParser
import com.fasterxml.jackson.databind.JsonMappingException
import com.fasterxml.jackson.databind.exc.MismatchedInputException
import com.fasterxml.jackson.databind.exc.InvalidNullException
import java.io.Closeable
import kotlin.reflect.KParameter

Expand Down Expand Up @@ -31,7 +31,7 @@ class MissingKotlinParameterException(
val parameter: KParameter,
processor: JsonParser? = null,
msg: String
) : MismatchedInputException(processor, msg) {
) : InvalidNullException(processor, msg, null) {
@Deprecated(
"Use main constructor, ",
ReplaceWith("MissingKotlinParameterException(KParameter, JsonParser?, String)"),
Expand Down

0 comments on commit 35de158

Please sign in to comment.