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:
@@ -0,0 +1,21 @@
|
||||
-- convertValue(map with bad value)
|
||||
J2: java.lang.IllegalArgumentException (cause: InvalidFormatException)
|
||||
J3: tools.jackson.databind.exc.InvalidFormatException
|
||||
-- readValue(file that does not exist)
|
||||
J2: java.io.FileNotFoundException
|
||||
J3: tools.jackson.core.exc.JacksonIOException (cause: FileNotFoundException)
|
||||
-- readValue(stream that throws IOException)
|
||||
J2: java.io.IOException
|
||||
J3: tools.jackson.core.exc.JacksonIOException (cause: IOException)
|
||||
-- writeValueAsString(getter that throws)
|
||||
J2: com.fasterxml.jackson.databind.JsonMappingException (cause: IllegalStateException)
|
||||
J3: tools.jackson.databind.DatabindException (cause: IllegalStateException)
|
||||
-- readValue("{\"id\":null}") into a long
|
||||
J2: no exception -> Order[id=0, quantity=1, lines=null]
|
||||
J3: tools.jackson.databind.exc.MismatchedInputException
|
||||
-- readValue(valid object followed by junk)
|
||||
J2: no exception -> Order[id=1, quantity=2, lines=null]
|
||||
J3: tools.jackson.core.exc.StreamReadException
|
||||
-- readValue(unknown property)
|
||||
J2: com.fasterxml.jackson.databind.exc.UnrecognizedPropertyException
|
||||
J3: no exception -> Order[id=1, quantity=2, lines=null]
|
||||
Reference in New Issue
Block a user