
30 May
2004
30 May
'04
6:37 a.m.
E. Gladyshev wrote:
----- Original Message ----- From: "Andreas Huber" <ah2003@gmx.net>
[...]
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