Date: 2006-11-13 02:11:18
> Oliver.Kowalke_at_[hidden] wrote:
> >> throw my_exception() <<
> >> throw_info<tag_errno>(errno) <<
> >> throw_info<tag_function>(BOOST_CURRENT_FUNCTION);
> >> <snip>
> >> Any strong preferences?
> > What about upcoming boost::system::error_code and
> > boost::system::system_error (used to report os errors)?
> If I read you correctly, what you're saying is that if
> boost::exception is accepted, we need to think about
> integration with the rest of boost. For example, if
> boost::system::system_error derives from std::runtime_error
> (as it does now) and also from boost::exception, (someone
> correct me if I'm missing something) the definition of
> boost::system_error could be reduced
I would not introduce boost::exception stuff into boost::system.
> throw enable_exception_info(system_error(....));
Maybe a better solution?!
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk