Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

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.



Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: