|
Boost : |
From: Peter Dimov (pdimov_at_[hidden])
Date: 2003-01-16 11:21:58
From: "William E. Kempf" <wekempf_at_[hidden]>
>
> Peter Dimov said:
> > [...] It is exceptions that
> > occur in the course in the normal operation that I'm talking about.
>
> And those, in order to be dealt with in a useful manner, have to be
> handled at a point close to the throw point, in order to be able to deal
> with the exception in a meaningful manner.
Yep, I got your point. You certainly _can_ handle exceptions close to the
throw point. This doesn't mean that you _have to_ handle exceptions close to
the throw point. I employ a different exception handling style, with as few
try blocks as possible, that typically handle exceptions far from the throw
point, a style that, at least in my experience, is legitimate and produces
slightly cleaner designs.
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk