3 ms·
> Use finally to stabilize program state when exceptions are thrown > Catch and handle exceptions locally when the effects of the error are local and completely
by chiffonade 18y ago
> Use finally to stabilize program state when exceptions are thrown
> Catch and handle exceptions locally when the effects of the error are local and completely understood
> Wrap independent units of work in try-catch blocks to handle errors that have global impact
... isn't this what everybody does?
- brlewis 18y agoI have the opposite impression, but maybe that's because when a Java library does this right I never have to dive into the code.
- paul_houle 18y agoi wish it was