exceptions: Jackson 3 unchecked JacksonException hierarchy, Spring Boot 4.2 error handling, OpenRewrite and sed migration

Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_017ic4b4HkWoC7hLzk61vZa8
This commit is contained in:
Claude
2026-12-03 23:41:56 +05:30
parent 26f64bc184
commit f97ec4e014
71 changed files with 2210 additions and 0 deletions
+24
View File
@@ -0,0 +1,24 @@
== who is at fault ==
syntax error UnexpectedEndOfInputException BAD_INPUT
wrong type InvalidFormatException BAD_INPUT
too deep StreamConstraintsException BAD_INPUT
no way to construct type InvalidDefinitionException OUR_BUG
connection reset JacksonIOException TRANSPORT
== a catch that misses StreamConstraintsException ==
slipped past catch (StreamReadException | DatabindException): StreamConstraintsException
== streams: no try/catch needed, one bad element ends the pipeline ==
parsed 1
pipeline aborted: UnexpectedEndOfInputException
skip-and-report instead:
parsed 1
skipped {"id": (UnexpectedEndOfInputException)
parsed 3
== CompletableFuture wraps it ==
join() threw CompletionException, cause UnexpectedEndOfInputException
exceptionally(): sees CompletionException wrapping UnexpectedEndOfInputException
== an old catch (RuntimeException) now swallows Jackson errors ==
generic handler got UnexpectedEndOfInputException