commons-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Nestor Urquiza <>
Subject [scxml] Handling exceptions thrown by custom actions
Date Mon, 15 May 2006 14:47:01 GMT
Hello guys,
Could you point me to what you think might be the best
approach here?

I receive a request and pass that request to the scxml
engine by means of triggering the proper event. The
event then put the FSM in an action state where some
internal methods (custom actions) are called.

How could I just suspend the whole execution of the
trigger and go back to the state the application was
before receiving the external event? Right now if an
exception is thrown from a custom action then a  new
SCXMLExpressionException(e) is thrown as well so the
FSM stops and therefore the FSM stops at the action
state while of course I want it to go back to the
original state.

Thanks a lot,
Nestor Urquiza 

Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message