Throw exception when Engine.serializeGame() is called with no game.