Why finally?

Tech-Archive recommends: Fix windows errors by optimizing your registry



I understand that the finally sub-block will execute regardless of whether
try succeeded or not. But so will code that follows try...catch. So then
what is the difference between ...

try {
do.something.that.breaks();
} catch {
do.something.that.works();
}
cleanup();


... and ..

try {
do.something.that.breaks();
} catch {
do.something.that.works();
} finally {
cleanup();
}

... other than organizational aesthetics ??

Thanks,
Jon


.