News for hackers. Stuff that matters.
Re:Why Checked Exceptions Failed by dasyatidprime on Saturday July 15, 2023 @03:48PM (#36740311)
It's possible to use a type parameter in a throws clause in Java, last I checked (as I also mentioned in more detail above). But it doesn't seem to be common practice, so interop is still a disaster.
Re:Why Checked Exceptions Failed by Quekid5 on Saturday July 15, 2023 @10:00PM (#36742795)
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.