Table of Contents

Class GetInvalidFieldNameException

Namespace
YndigoBlue.Velocity.Exceptions
Assembly
YndigoBlue.Velocity.dll

Thrown when attempting to retrieve a value for a field that doesn't exist in a Record.

public class GetInvalidFieldNameException : Exception, ISerializable
Inheritance
GetInvalidFieldNameException
Implements

Remarks

This exception occurs when using GetField methods with an invalid or non-existent field name. Common scenarios include typos in field names, attempting to read fields that weren't included in the query result set, or using incorrect case sensitivity when referencing field names.

Constructors

GetInvalidFieldNameException()

Initializes a new instance of the GetInvalidFieldNameException class.

GetInvalidFieldNameException(string)

Initializes a new instance of the GetInvalidFieldNameException class with a specified error message.

Properties

FieldName

Gets or sets the invalid field name that was attempted to be retrieved.