> 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
Comments
> 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?
I have the opposite impression, but maybe that's because when a Java library does this right I never have to dive into the code.
i wish it was