public void SaveModel(string fileName) { Utils.ThrowException(!Utils.VerifyFileNameCreate(fileName) ? new ArgumentValueException("fileName") : null); Utils.ThrowException(mModelId == -1 ? new InvalidOperationException() : null); SvmLightLib.SaveModel(mModelId, fileName); }