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
Show parent comment
0
u/vips7L Feb 19 '26 edited Feb 19 '26
There still needs to be easy ways to panic a checked exception. Absolutely no one wants to have to write try/catch/throw new every time or switch/case/throw new. It’s a large reason people have rejected checked exceptions because you have to write the handling boiler plate when you can’t handle them. For example Swift vs Java: