Boost logo

Boost :

From: Andreas Huber (ah2003_at_[hidden])
Date: 2004-05-30 01:37:17


E. Gladyshev wrote:
> ----- Original Message -----
> From: "Andreas Huber" <ah2003_at_[hidden]>
>
> [...]
>> So the library will by default not provide
>> any exception handling support (apart from terminating when an action
>> throws).
>>
> I am not sure I understand it.
> If there is no any exception handling, how would
> the library know when an action throws in order to terminate?

I mean that the library will not attempt to catch any exceptions thrown from
actions. Since the state machine could likely be in an unstable state when
such an exception is thrown, it must be terminated before the exception is
propagated to the client (I'm not doing this with try { ... } catch ( ... )
{ terminate(); }but with a scope guard).

Regards,

Andreas


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