Added throw clause to getTransition()
Made RotationSystem abstract