|
Boost : |
From: Ian Bruntlett (Ian.Bruntlett_at_[hidden])
Date: 2000-08-11 07:07:32
> "Expectedness" is a poor measure of whether an exception is the
appropriate
> response, IMO. In some sense, any error you can write recovery code for is
> "expected". The criterion to use is "will the caller almost certainly want
> to handle the condition locally, or is stack unwinding more likely to be
the
> desired behavior?"
I'd use something like "Expectedness" if I had my C++ Design head on.
And "stack unwinding or not?" if I had my C++ Implementation on.
Ian
(not Wurzel Gummidge).
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk