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
+18
View File
@@ -0,0 +1,18 @@
jackson-databind 3.1.8, spring-boot 4.2.0
== client sends broken JSON
> POST /orders {"id": 1, "quantity": }
< 400 {"detail":"Request body could not be read","status":400,"title":"Bad Request","line":1,"column":23}
== client sends a wrong type
> POST /orders {"id":1,"quantity":1,"lines":[{"sku":"A","qty":"two"}]}
< 400 {"detail":"Request body could not be read","status":400,"title":"Bad Request","field":"lines[0].qty","line":1,"column":48}
== stored data is corrupt (server problem)
> GET /orders/stored
< 500 {"status":500,"title":"Internal Server Error"}
log: ERROR com.ankurm.exceptions.boot.GoodAdvice : JSON failure inside the application
== response cannot be serialised (server problem)
> GET /orders/unwritable
< 500 {"detail":"Failed to write request","status":500,"title":"Internal Server Error"}