Skip to content

Commit

Permalink
Merge pull request #647 from k163377/fix-#617
Browse files Browse the repository at this point in the history
Added deprecation to MissingKotlinParameterException.
  • Loading branch information
k163377 authored Mar 15, 2023
2 parents 50b29d9 + acd8791 commit 581cb83
Showing 1 changed file with 8 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,14 @@ import kotlin.reflect.KParameter
* Specialized [JsonMappingException] sub-class used to indicate that a mandatory Kotlin constructor
* parameter was missing or null.
*/
@Deprecated(
"It will be removed in jackson-module-kotlin 2.16. See #617 for details.",
ReplaceWith(
"MismatchedInputException",
"com.fasterxml.jackson.databind.exc.MismatchedInputException"
),
DeprecationLevel.WARNING
)
class MissingKotlinParameterException(val parameter: KParameter,
processor: JsonParser? = null,
msg: String) : MismatchedInputException(processor, msg) {
Expand Down

0 comments on commit 581cb83

Please sign in to comment.