Comment by Animats
5 years ago
"dime kind of safe point"?
That's the whole idea of exceptions. Give up on some chunk of what you were doing, and recover to a previous state.
This works best when you have some notion of a transaction, and can get back to the state before the transaction started. This is what "ROLLBACK" in SQL does.
Oops, getting late and typing on mobile... Corrected now, should have been 'some kind of safe point'.
Yes, that is exactly my point in favor of exceptions, or at least against stopping the whole program with a core dump.