Show / Hide Table of Contents

Class MissingFieldCsvException

Represents the exception that is thrown when a there is a missing field in a record of the CSV file.

Inheritance
Object
Exception
MalformedCsvException
MissingFieldCsvException
Inherited Members
MalformedCsvException.RawData
MalformedCsvException.CurrentPosition
MalformedCsvException.CurrentRecordIndex
MalformedCsvException.CurrentFieldIndex
MalformedCsvException.Message
MalformedCsvException.GetObjectData(SerializationInfo, StreamingContext)
System.Exception.GetBaseException()
System.Exception.ToString()
System.Exception.GetType()
System.Exception.Data
Exception.InnerException
System.Exception.TargetSite
System.Exception.StackTrace
Exception.HelpLink
System.Exception.Source
Exception.HResult
System.Exception.SerializeObjectState
Object.Equals(Object)
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetHashCode()
Object.MemberwiseClone()
Namespace: IRM.Data
Assembly: IRM.dll
Syntax
[Serializable]
public class MissingFieldCsvException : MalformedCsvException, ISerializable, _Exception
Remarks

MissingFieldException would have been a better name, but there is already a MissingFieldException.

Constructors

MissingFieldCsvException()

Initializes a new instance of the MissingFieldCsvException class.

Declaration
public MissingFieldCsvException()

MissingFieldCsvException(SerializationInfo, StreamingContext)

Initializes a new instance of the MissingFieldCsvException class with serialized data.

Declaration
protected MissingFieldCsvException(SerializationInfo info, StreamingContext context)
Parameters
SerializationInfo info

The SerializationInfo that holds the serialized object data about the exception being thrown.

StreamingContext context

The StreamingContext that contains contextual information about the source or destination.

MissingFieldCsvException(String)

Initializes a new instance of the MissingFieldCsvException class.

Declaration
public MissingFieldCsvException(string message)
Parameters
String message

The message that describes the error.

MissingFieldCsvException(String, Exception)

Initializes a new instance of the MissingFieldCsvException class.

Declaration
public MissingFieldCsvException(string message, Exception innerException)
Parameters
String message

The message that describes the error.

Exception innerException

The exception that is the cause of the current exception.

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
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.

MissingFieldCsvException(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
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.

Exception innerException

The exception that is the cause of the current exception.

Extension Methods

ObjectExtensions.DeepClone<T>(T)
ExceptionExtensions.GetSleepDuration(Exception, TimeSpan)
AnnotationsExtensions.IsValid(Object)
Back to top Generated by DocFX