throwingPendingEventHandler

Returns StateMachine.PendingEventHandler implementation that throws exception. This is an old default behaviour.