Quantcast
Channel: Spring State Machine: How to get information that transition is not possible? - Stack Overflow
Browsing all 2 articles
Browse latest View live

Answer by Adina Rolea for Spring State Machine: How to get information that...

If you have an unknown event, the state machine will not fail with error, it will ignore it. The only way to have more information regarding the invalid event is to add a state machine listener:public...

View Article



Spring State Machine: How to get information that transition is not possible?

I would like to get something like an exception or any hint, when I send an event which is not possible in the current state of the machine.Instead of an exception, nothing happens. The only thing that...

View Article
Browsing all 2 articles
Browse latest View live




Latest Images