Boost logo

Boost :

From: William E. Kempf (wekempf_at_[hidden])
Date: 2003-01-09 10:17:58


> From: David Abrahams <dave_at_[hidden]>
> "William E. Kempf" <wekempf_at_[hidden]> writes:
> >> From: David Abrahams <dave_at_[hidden]>
> >> "William E. Kempf" <wekempf_at_[hidden]> writes:
> >>
> >> > That's a good idea. So would users prefer new exception types here,
> >> > or should I use the std:: exceptions?
> >>
> >> IMO, it's always safer to use an exception type which provides
> >> more-specific information.
> >
> > What extra information do you want provided?
>
> For example, that it was a threading library exception. Information
> carried by the type identity may be enough.

It's the "may" that concerns me here. I have absolutely no problem using a domain specific exception type here... I just want to insure doing so covers _all_ the needs.

William E. Kempf
wekempf_at_[hidden]


Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk