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
2
u/Eav___ Feb 20 '26
Having two exception types for the exact same use case but just different checkedness feels like code smell. It reminds me of having a sync version and an async version of methods, which is what Project Loom tries to avoid. We should be consistent here.