Table of Contents

Class ColumnNotFoundException

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

Thrown when a referenced column cannot be found in a table or query result.

[Serializable]
public class ColumnNotFoundException : Exception, ISerializable
Inheritance
ColumnNotFoundException
Implements

Remarks

This exception occurs when attempting to access a column that doesn't exist in the schema or when a query references a column that is not available in the specified table or result set. Common scenarios include typos in column names, accessing columns from tables not included in the query, or referencing columns that were dropped from the schema.

Constructors

ColumnNotFoundException()

Initializes a new instance of the ColumnNotFoundException class.

ColumnNotFoundException(string)

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

Properties

ColumnName

Gets or sets the name of the column that could not be found.

FromItemName

Gets or sets the name of the table or query item where the column was expected.