|
Boost : |
From: Alexander Nasonov (alnsn_at_[hidden])
Date: 2006-09-12 02:51:51
Andy Little <andy <at> servocomm.freeserve.co.uk> writes:
> This seems more like a reason For than against, unless you just
> prefer things to quietly keep going like nothing happened?
> as after all nothing will seem to have happened if you havent
> checked. And that is Real Bad IMO.
I agree that generating a crash dump is better but when you throw,
you should be prepared that your exception may be caught.
For example, a hypothetical server processes user requests in a loop
with try/catch inside. If processing of a request throws, the server
just prints a message to syslog and continues.
-- Alexander Nasonov
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk