Boost logo

Boost Users :

Subject: Re: [Boost-users] boost:statechart: How can I access the state machine from within a custom error handler?
From: Andreas Huber (ahd6974-spamboostorgtrap_at_[hidden])
Date: 2009-05-13 02:12:39


Hi

> I have replaced the null_exception_translator
> (http://www.boost.org/doc/libs/1_34_1/libs/statechart/doc/reference.html#null_exception_translator.hpp)
> with one of my own brew and I cannot figure a way to get the state machine
> in the context of which the the handler gets called.

Have you read
<http://www.boost.org/doc/libs/1_39_0/libs/statechart/doc/tutorial.html#ExceptionHandling>
?
Did you try to use exception_translator instead of
null_exception_translator?

Regards,

-- 
Andreas Huber
When replying by private email, please remove the words spam and trap
from the address shown in the header.

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