Hacker News new | ask | show | jobs
by jeroenhd 496 days ago
The try/catch/rethrow model can easily be substituted by just adding a `throws` to the method. If you truly don't care, just make your method `throws Exception` or even `throws Throwable` and let the automatic bubbling take care of making you handle exceptions at top level.
1 comments

That (or rather checked exceptions in general) doesn't play well with lambdas / streams.