Class SchemaNotFoundException
- Namespace
- YndigoBlue.Velocity.Exceptions
- Assembly
- YndigoBlue.Velocity.dll
Thrown when a referenced database schema cannot be found.
public class SchemaNotFoundException : Exception, ISerializable
- Inheritance
-
SchemaNotFoundException
- Implements
Remarks
This exception occurs when attempting to access a schema that doesn't exist in the database. Common scenarios include attempting to load a schema that hasn't been created, referencing a schema that was dropped, or specifying an incorrect schema name in configuration files.
Constructors
- SchemaNotFoundException()
Initializes a new instance of the SchemaNotFoundException class.
- SchemaNotFoundException(string)
Initializes a new instance of the SchemaNotFoundException class with a specified error message.
Properties
- DatabaseName
Gets or sets the name of the database where the schema was expected.
- SchemaName
Gets or sets the name of the schema that could not be found.