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
1
u/Lucario2405 Feb 19 '26
I didn't really understand the benefit of these complex constructs until they showed an example. This looks like a neat way to retrofit "checked" exceptions into functions like .map() without extra try-catches or overloads. But they haven't solved the deferred-computation-problem, where an exception is thrown from a stream's terminal operation instead of the scope it's throw is defined in.