r/java • • Oct 04 '25

Jackson 3.0.0 is released!

https://central.sonatype.com/artifact/tools.jackson/jackson-bom/versions
212 Upvotes

107 comments sorted by

View all comments

Show parent comment

1

u/wildjokers Oct 05 '25

That way, we wouldn't lose any of the benefits of Checked Exceptions, just get to choose where we have to handle them.

That’s how it works today, if you don’t want to handle it just add a throws for it to the method signature.

1

u/davidalayachew Oct 06 '25

That’s how it works today, if you don’t want to handle it just add a throws for it to the method signature.

Not for fluent API's. Streams are the biggest offenders.

Unless you mean modify the fluent API itself to throw the exception in question? That would be a very different problem.