OpenPetra
Free Administration Software for Non-Profits
Ict.Common.DB.Exceptions.EDBConnectionIsAlreadyOpenException Class Reference

Thrown if an attempt to create a DB connection failed because the DB connection was already established earlier. More...

Inheritance diagram for Ict.Common.DB.Exceptions.EDBConnectionIsAlreadyOpenException:
Ict.Common.DB.Exceptions.EDBConnectionNotEstablishedException Ict.Common.Exceptions.EOPDBException Ict.Common.Exceptions.EOPException

Public Member Functions

 EDBConnectionIsAlreadyOpenException ()
 Initializes a new instance of this Exception Class. More...
 
 EDBConnectionIsAlreadyOpenException (String AMessage)
 Initializes a new instance of this Exception Class with a specified error message. More...
 
 EDBConnectionIsAlreadyOpenException (string AConnectionString, Exception AInnerException)
 Use this to pass on the ConnectionString with the Exception and to log the Exception to the log file. More...
 

Detailed Description

Thrown if an attempt to create a DB connection failed because the DB connection was already established earlier.

Constructor & Destructor Documentation

◆ EDBConnectionIsAlreadyOpenException() [1/3]

Ict.Common.DB.Exceptions.EDBConnectionIsAlreadyOpenException.EDBConnectionIsAlreadyOpenException ( )
inline

Initializes a new instance of this Exception Class.

◆ EDBConnectionIsAlreadyOpenException() [2/3]

Ict.Common.DB.Exceptions.EDBConnectionIsAlreadyOpenException.EDBConnectionIsAlreadyOpenException ( String  AMessage)
inline

Initializes a new instance of this Exception Class with a specified error message.

Parameters
AMessageThe error message that explains the reason for the Exception.

◆ EDBConnectionIsAlreadyOpenException() [3/3]

Ict.Common.DB.Exceptions.EDBConnectionIsAlreadyOpenException.EDBConnectionIsAlreadyOpenException ( string  AConnectionString,
Exception  AInnerException 
)
inline

Use this to pass on the ConnectionString with the Exception and to log the Exception to the log file.

Parameters
AConnectionStringDatabase connection string.
AInnerExceptionThe Exception that is the cause of the current Exception, or a null reference if no inner Exception is specified.

The documentation for this class was generated from the following file: