Added class name to InvalidTransition exception messages.