Re:Java’s Checked Exceptions Are Evil? (2015)
by monster_group on Sunday September 23, 2018 @07:28AM
(#18050576)
Checked exceptions make a lot of sense if they are business logic related exceptions for example - CustomerNotFoundException, WithdrawUnauthorizedException. The client knows that server will throw these exceptions and can take different actions accordingly (for example displaying an appropriate message rather than a generic error message). If it is just one general exception then you are clubbing several different situations in just one bucket.
[ Parent
| on HN ]
There are no comments on this comment yet.