News for hackers. Stuff that matters.
Re:Why Checked Exceptions Failed by simias on Saturday July 15, 2023 @11:35AM (#36737745)
The ability to catch exceptions is not the issue, it's knowing what to do once they're caught that's the problem.

The parent apparently had exhaustive exception handling, catching all cases. A new exception is now generated, probably signaling a new error condition, you can't expect the calling code to be able to handle it gracefully.

Hence why a compile error might be a better solution here, the coder could decide whether the new exception can fit an existing handler or requires special handling.

There are no comments on this comment yet.