/// <summary> /// Generates the message. /// </summary> /// <returns></returns> protected override bool GenerateMessage() { try { if (profileBEO != null && profileBEO.FileLocations != null) { fileIoHelper.GetSortedFileList(profileBEO.FileLocations, profileBEO.ExcludedFileTypes, fileParserBatchSize); } LogMessage(true, "Successfully parsed source file."); } catch (Exception ex) { LogMessage(false, "Failed to parse source file. " + ex.ToUserString()); ReportToDirector(ex); throw; } return(true); }