Uses of Class
io.hektor.fsm.builder.exceptions.StateBuilderException
Packages that use StateBuilderException
-
Uses of StateBuilderException in io.hektor.fsm.builder.exceptions
Subclasses of StateBuilderException in io.hektor.fsm.builder.exceptionsModifier and TypeClassDescriptionclassYou can only have a single default transition for a transient state.classIndicates that you tried to define a final state twice.classIndicates that you tried to define the final state as transient, which you cannot do.classIndicates that you tried to define transitions on a final state.classIndicates that you tried to define an initial state twice.classYou can only define the same state once.classIf you define a transition from A to B but then you never end up defining the state B, you will get this exception thrown when trying to build the FSM.classIf you would be able to specify a transition from a transient state to another transient state (or itself) you will likely end up in a loop.classIndicates that you defined a transient state but didn't specify any default transitions, which you must for a transient state or you will get stuck in that state and then it wouldn't be a transient state, now would it!classIndicates that you didn't define any transitions for the given state.