Re:Where Everything Went Wrong: Error Handling and Error Mes...
by brazzy on Friday February 19, 2021 @11:46AM
(#26194964)
This is exactly Java's checked exceptions, which I'd call a failed experiment in language design.
The problem is that it makes the most common case (letting the exception bubble up) very inconvenient and clutter-y. Signatures with 5 different declared exceptions are worse than useless.
The problem is that it makes the most common case (letting the exception bubble up) very inconvenient and clutter-y. Signatures with 5 different declared exceptions are worse than useless.