Boost logo

Boost :

From: Oliver.Kowalke_at_[hidden]
Date: 2006-11-10 06:21:42


> throw my_exception() <<
> throw_info<tag_errno>(errno) <<
> throw_info<tag_function>(BOOST_CURRENT_FUNCTION);
>
> The above is a use case of encoding exception information at
> the time of the throw. The other use case is to catch a
> boost::exception, add exception info to it and re-throw. Here
> is an example of how each of except_info and throw_info would
> look in that case:

> Any strong preferences?

What about upcoming boost::system::error_code and
boost::system::system_error (used to report os errors)?
regards,
Oliver


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