commons-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jon Brule" <tricolor...@gmail.com>
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
tricolorcat-at-gmail.com

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