Represents the exception that is thrown when a CSV file is malformed.
Inheritance: System.Exception
Esempio n. 1
0
 /// <summary>
 /// Initializes a new instance of the ParseErrorEventArgs class.
 /// </summary>
 /// <param name="error">The error that occured.</param>
 /// <param name="defaultAction">The default action to take.</param>
 public ParseErrorEventArgs(MalformedCsvException error, ParseErrorAction defaultAction)
     : base()
 {
     _error  = error;
     _action = defaultAction;
 }
		/// <summary>
		/// Initializes a new instance of the ParseErrorEventArgs class.
		/// </summary>
		/// <param name="error">The error that occured.</param>
		/// <param name="defaultAction">The default action to take.</param>
		public ParseErrorEventArgs(MalformedCsvException error, ParseErrorAction defaultAction)
			: base()
		{
			_error = error;
			_action = defaultAction;
		}