On 9/27/06, Madhwaraj Rao <[EMAIL PROTECTED]> wrote:
Hello,
I tried sending an invalid event to the state machine
and didn't see any error being reported. By invalid I
mean this event was not expected in the current state.
Does the SCXMLSemanticsImpl report an error (via the
the ErrorReporter) when such an event is silently
discarded?
<snip/>
No, because the semantics treat it as simply an inconsequential
trigger (causing no change to the state machine), rather than an
error.
One of the ways you could track this is to register a SCXMLListener on
the executor and track onTransition() callbacks (if you get none, the
trigger is "invalid" -- per your definition above).
-Rahul
Thanks
--
Raj
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]