Hi. I recently got to know spring-statemachine, and I'm learning to use it for a company project.
But there's a problem. There are cases where the logic of guard and action that I wrote generates an exception, and I want to process this exception outside of the state machine. But spring-statemachine handles all these exceptions internally.
- In the case of
guard, the guard just returns false when an exception occurs.
- In the case of
action, no transition occurs when an exception occurs.
Is there an option to throw an internal exception to the outside?