Skip to content

Commit 2630290

Browse files
committed
Update docs
1 parent 279e639 commit 2630290

File tree

1 file changed

+4
-8
lines changed

1 file changed

+4
-8
lines changed

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

Lines changed: 4 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -10,14 +10,10 @@ import kotlin.reflect.KParameter
1010
* parameter was missing or null.
1111
*/
1212
@Deprecated(
13-
"It is recommended that InvalidNullException be referenced when possible," +
14-
" as the change is discussed for 2.20 and later." +
15-
" See #617 for details.",
16-
ReplaceWith(
17-
"InvalidNullException",
18-
"com.fasterxml.jackson.databind.exc.InvalidNullException"
19-
),
20-
DeprecationLevel.WARNING
13+
"Since 2.20, this exception is no longer thrown and has been replaced by KotlinInvalidNullException. " +
14+
"See #617 for details.",
15+
ReplaceWith("KotlinInvalidNullException"),
16+
DeprecationLevel.ERROR
2117
)
2218
// When deserialized by the JDK, the parameter property will be null, ignoring nullability.
2319
// This is a temporary workaround for #572 and we will eventually remove this class.

0 commit comments

Comments
 (0)