commons-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jon Brule" <>
Subject [SCXML] SCXMLListener Exception Handling Question
Date Sun, 26 Mar 2006 15:06:07 GMT
Good Morning,

I am attempting to decouple state action code from the state machine's
execution by using the SCXMLListener interface in non-inner classes (like
StopWatch example)... Now suppose within a listener implementation I
encounter a checked exception... Since the SCXMLListener interface does not
account for checked exceptions, how best can I communicate this back to the
state machine execution to alter the execution path, say to perform an
automatic transition to an error state?

Jon Brule

  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message