Hacker News new | ask | show | jobs
by Quekid5 1072 days ago
That only works up to one checked exception type, because Java doesn't have anonymous union types.

It really is a lose-lose unless Java grows a more powerful system around this.