Nucleus .Net Core CMS

ConnectionException Class

Namespace: Nucleus.Data.Common
Assembly: Nucleus.Data.Common.dll
An exception which is thrown when Nucleus is unable to connect to a database.

Constructor

Nucleus.Data.Common.ConnectionException Constructor

Nucleus.Data.Common.ConnectionException (DatabaseConnectionOption databaseConnectionOption, Exception innerException)
Initialize a new instance of the ConnectionException class.
Parameters
Name Type
databaseConnectionOption Nucleus.Abstractions.Models.Configuration.DatabaseConnectionOption
innerException Exception
Remarks
The exception's message is derived from the values in the specified database connection option.

Properties

ConnectionOptions Property

Database connection object which caused the exception.