public static void AddContentErrMsg(int contentType, int errType, string curItem, LexRecord lexRecord, string[][] errTypeStrs, int[] errTypeNos, bool crossRefFlag) { string contentTypeStr = LexRecordUtil.GetContentTypeStr(contentType); if (crossRefFlag == true) { contentTypeStr = LexRecordUtil.GetCrossRefTypeStr(contentType); } string errTypeStr = GetErrTypeStr(errType, errTypeStrs); string errFixStr = GetErrFixStr(errType, errTypeStrs); string errMsg = "** Content Err in " + contentTypeStr + " - " + errTypeStr + " (" + curItem + "): @ [" + LexRecordUtil.GetLexRecordInfo(lexRecord) + "]" + errFixStr + GlobalVars.LS_STR; if (errType == 9) { errMsg = errMsg + "=> Add EUI (" + lexRecord.GetEui() + ") to irregExcetions.data if this Err is an OK exception." + GlobalVars.LS_STR; } errMsg_ += errMsg; AddErrTypeNo(errType, errTypeNos); }
public static void AddContentErrMsg(int contentType, int errType, string msg, string[][] errTypeStrs, int[] errTypeNos, bool crossRefFlag) { string contentTypeStr = LexRecordUtil.GetContentTypeStr(contentType); if (crossRefFlag == true) { contentTypeStr = LexRecordUtil.GetCrossRefTypeStr(contentType); } string errTypeStr = GetErrTypeStr(errType, errTypeStrs); string errFixStr = GetErrFixStr(errType, errTypeStrs); string errMsg = "** Content Err in " + contentTypeStr + " - " + errTypeStr + " @ [" + msg + "]" + errFixStr + GlobalVars.LS_STR; errMsg_ += errMsg; AddErrTypeNo(errType, errTypeNos); }