Skip to content

Commit 35de158

Browse files
committed
Changed the base class of MissingKotlinParameterException to InvalidNullException
1 parent 1659969 commit 35de158

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/main/kotlin/com/fasterxml/jackson/module/kotlin/Exceptions.kt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ package com.fasterxml.jackson.module.kotlin
22

33
import com.fasterxml.jackson.core.JsonParser
44
import com.fasterxml.jackson.databind.JsonMappingException
5-
import com.fasterxml.jackson.databind.exc.MismatchedInputException
5+
import com.fasterxml.jackson.databind.exc.InvalidNullException
66
import java.io.Closeable
77
import kotlin.reflect.KParameter
88

@@ -31,7 +31,7 @@ class MissingKotlinParameterException(
3131
val parameter: KParameter,
3232
processor: JsonParser? = null,
3333
msg: String
34-
) : MismatchedInputException(processor, msg) {
34+
) : InvalidNullException(processor, msg, null) {
3535
@Deprecated(
3636
"Use main constructor, ",
3737
ReplaceWith("MissingKotlinParameterException(KParameter, JsonParser?, String)"),

0 commit comments

Comments
 (0)