OpenPetra
Free Administration Software for Non-Profits
Ict.Common.DB.Exceptions.EDBConnectionWasAlreadyEstablishedException 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.EDBConnectionWasAlreadyEstablishedException:
Ict.Common.DB.Exceptions.EDBConnectionNotEstablishedException Ict.Common.Exceptions.EOPDBException Ict.Common.Exceptions.EOPException

Public Member Functions

 EDBConnectionWasAlreadyEstablishedException ()
 Initializes a new instance of this Exception Class. More...
 
 EDBConnectionWasAlreadyEstablishedException (String AMessage)
 Initializes a new instance of this Exception Class with a specified error message. More...
 
 EDBConnectionWasAlreadyEstablishedException (string AConnectionString, Exception AInnerException)
 Use this to pass on the ConnectionString with the Exception and to log the Exception to the log file. More...
 
 EDBConnectionWasAlreadyEstablishedException (SerializationInfo AInfo, StreamingContext AContext)
 Initializes a new instance of this Exception Class with serialized data. Needed for Remoting and general serialization. More...
 
override void GetObjectData (SerializationInfo AInfo, StreamingContext AContext)
 Sets the SerializationInfo with information about this Exception. Needed for Remoting and general serialization. More...
 

Detailed Description

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

Constructor & Destructor Documentation

◆ EDBConnectionWasAlreadyEstablishedException() [1/4]

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

Initializes a new instance of this Exception Class.

◆ EDBConnectionWasAlreadyEstablishedException() [2/4]

Ict.Common.DB.Exceptions.EDBConnectionWasAlreadyEstablishedException.EDBConnectionWasAlreadyEstablishedException ( 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.

◆ EDBConnectionWasAlreadyEstablishedException() [3/4]

Ict.Common.DB.Exceptions.EDBConnectionWasAlreadyEstablishedException.EDBConnectionWasAlreadyEstablishedException ( 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.

◆ EDBConnectionWasAlreadyEstablishedException() [4/4]

Ict.Common.DB.Exceptions.EDBConnectionWasAlreadyEstablishedException.EDBConnectionWasAlreadyEstablishedException ( SerializationInfo  AInfo,
StreamingContext  AContext 
)
inline

Initializes a new instance of this Exception Class with serialized data. Needed for Remoting and general serialization.

Only to be used by the .NET Serialization system (eg within .NET Remoting).

Parameters
AInfoThe SerializationInfo that holds the serialized object data about the Exception being thrown.
AContextThe StreamingContext that contains contextual information about the source or destination.

Member Function Documentation

◆ GetObjectData()

override void Ict.Common.DB.Exceptions.EDBConnectionWasAlreadyEstablishedException.GetObjectData ( SerializationInfo  AInfo,
StreamingContext  AContext 
)
inline

Sets the SerializationInfo with information about this Exception. Needed for Remoting and general serialization.

Only to be used by the .NET Serialization system (eg within .NET Remoting).

Parameters
AInfoThe SerializationInfo that holds the serialized object data about the Exception being thrown.
AContextThe StreamingContext that contains contextual information about the source or destination.

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