
12 Sep
2006
12 Sep
'06
6:51 a.m.
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