create State Machine
Create an instance of the finite state machine described by the StateMachineFactory.
Return
The new validated state machine.
Throws
If validation fails.
Create an instance of the finite state machine described by the StateMachineFactory.
The new validated state machine.
If validation fails.