/// <summary>
        /// Adds a new entry to the list of problems
        /// </summary>
        /// <param name="pProblemType">The type of problem</param>
        /// <param name="pCode">The code associated with the problem</param>
        /// <param name="pMessage">The short description of the problem</param>
        /// <param name="pDescription">The long description of the problem</param>
        public void Add(ImportExportMessageType pProblemType, string pCode, string pMessage, string pDescription)
        {
            #region Input Validation
            if (string.IsNullOrEmpty(pCode))
            {
                throw new ArgumentNullException(pCode);
            }
            else if (string.IsNullOrEmpty(pMessage))
            {
                throw new ArgumentNullException(pMessage);
            }
            #endregion // Input Validation

            ImportExportMessage problem = new ImportExportMessage();
            problem.ID          = GetNextID();
            problem.MessageType = pProblemType;
            problem.Code        = pCode;
            problem.Message     = pMessage;
            problem.Description = pDescription;
            errorList.Add(problem);
        }
 /// <summary>
 /// Adds a new entry to the list of problems
 /// </summary>
 /// <param name="pProblemType">The type of problem</param>
 /// <param name="pCode">The code associated with the problem</param>
 /// <param name="pMessage">The short description of the problem</param>
 public void Add(ImportExportMessageType pProblemType, string pCode, string pMessage)
 {
     this.Add(pProblemType, pCode, pMessage, string.Empty);
 }