Boost logo

Boost Users :

Subject: Re: [Boost-users] exception error_info list?
From: Emil Dotchevski (emildotchevski_at_[hidden])
Date: 2009-10-12 18:26:34


On Mon, Oct 12, 2009 at 1:43 PM, denis <mu_kuh_at_[hidden]> wrote:
> Emil Dotchevski wrote:
>> Alternatively, you could use exception_ptr to store store the whole
>> "low level" exception (error_infos and all) as an error_info:
>>
> This feature of nested exceptions is very cool.  It gets a little
> bit lost in the documentation. I'd vote for providing that
> typedef as a standard "boost::errinfo_...".

It isn't lost, just not advertised. :) The main motivation for
exception_ptr is to support transporting of exceptions between
threads.

OTOH, I know that translating and nesting exceptions is popular, so
adding a boost::errinfo_nested_exception typedef is probably a good
idea.

Emil Dotchevski
Reverge Studios, Inc.
http://www.revergestudios.com/reblog/index.php?n=ReCode


Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net