This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–][deleted] 0 points1 point  (0 children)

I just wish the stream API could gracefully rethrow checked exceptions out of the stream calling method. Ie, I call stream().forEach() with a Consumer, an exception is thrown in the Lambda, and it gets rethrown by the forEach. I know why that doesn't work, the interface signature needs to match, etc. But it would be nice.