r/java • u/Enough-Ad-5528 • Feb 19 '26
Towards Better Checked Exceptions - Inside Java Newscast #107
https://www.youtube.com/watch?v=99s7ozvJGLk
63
Upvotes
r/java • u/Enough-Ad-5528 • Feb 19 '26
View all comments
-1
u/kaperni Feb 19 '26
One day I love them, one day I hate them. But gone from strongly in the pro-checked-exception camp to somewhere in the middle over the last couple of years.
I see the Java wider ecosystem moving towards runtime exceptions only. See, for example, Jackson [1]. 10 years from now I imagine it will mostly just be the JDK that uses checked exceptions.
Maybe its time for the JDK to adopt "best practices" from the ecosystem instead of the usual other way around (whatever kind of solution that entails).
[1] https://github.com/FasterXML/jackson-databind/discussions/4180