Boost logo

Boost :

Subject: Re: [boost] Boost and exceptions
From: Robert Ramey (ramey_at_[hidden])
Date: 2012-06-23 19:25:05


Steven Watanabe wrote:
> AMDG

>>> std::exception doesn't allow any addition annotation.
>>> Using std::exception, there's simply no way to
>>> add any additional information without either
>>> a) Knowing the type of the original exception, or
>>> b) Discarding all the type information of the original exception.

> You're ignoring my point. Would you mind
> explaining how to avoid both (a) and (b)?
> Or pick one and explain why you think it
> isn't a problem? As I see it, (a) is extremely
> verbose if there are multiple possible
> exception types, and (b) can obviously lose
> important information.

OK I was a little too hasty in my response.

In my last response to Emil I reworked my example
more carefully, feel free to comment on that.

Robert Ramey

> In Christ,
> Steven Watanabe
>
> _______________________________________________
> Unsubscribe & other changes:
> http://lists.boost.org/mailman/listinfo.cgi/boost


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