Class MissingFieldCsvException
Represents the exception that is thrown when a there is a missing field in a record of the CSV file.
Implements
System.Runtime.Serialization.ISerializable
Inherited Members
System.Exception.GetBaseException()
System.Exception.GetType()
System.Exception.ToString()
System.Exception.Data
System.Exception.HelpLink
System.Exception.HResult
System.Exception.InnerException
System.Exception.Source
System.Exception.StackTrace
System.Exception.TargetSite
System.Exception.SerializeObjectState
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
Namespace: Mars.Common.IO.Exceptions
Assembly: Mars.IO.dll
Syntax
[Serializable]
public class MissingFieldCsvException : MalformedCsvException, ISerializable
Remarks
MissingFieldException would have been a better name, but there is already a
System.MissingFieldException.
Constructors
| Improve this Doc View SourceMissingFieldCsvException(String, Int32, Int64, Int32, Exception)
Initializes a new instance of the MissingFieldCsvException class.
Declaration
public MissingFieldCsvException(string rawData, int currentPosition, long currentRecordIndex, int currentFieldIndex, Exception innerException)
Parameters
Type | Name | Description |
---|---|---|
System.String | rawData | The raw data when the error occured. |
System.Int32 | currentPosition | The current position in the raw data. |
System.Int64 | currentRecordIndex | The current record index. |
System.Int32 | currentFieldIndex | The current field index. |
System.Exception | innerException | The exception that is the cause of the current exception. |
Remarks
MissingFieldException would have been a better name, but there is already a
System.MissingFieldException.
|
Improve this Doc
View Source
MissingFieldCsvException(String, Int32, Int64, Int32)
Initializes a new instance of the MissingFieldCsvException class.
Declaration
public MissingFieldCsvException(string rawData, int currentPosition, long currentRecordIndex, int currentFieldIndex)
Parameters
Type | Name | Description |
---|---|---|
System.String | rawData | The raw data when the error occured. |
System.Int32 | currentPosition | The current position in the raw data. |
System.Int64 | currentRecordIndex | The current record index. |
System.Int32 | currentFieldIndex | The current field index. |
Remarks
MissingFieldException would have been a better name, but there is already a
System.MissingFieldException.
Implements
System.Runtime.Serialization.ISerializable