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

Thrown if the DB connection is not able to execute any SQL commands. More...

Inheritance diagram for Ict.Common.DB.Exceptions.EDBConnectionNotAvailableException:
Ict.Common.Exceptions.EOPDBException Ict.Common.Exceptions.EOPException

Public Member Functions

 EDBConnectionNotAvailableException ()
 Initializes a new instance of this Exception Class. More...
 
 EDBConnectionNotAvailableException (String AConnectionInfo)
 Passes on information about the Connection. More...
 
 EDBConnectionNotAvailableException (String AConnectionInfo, Exception AInnerException)
 Passes on information about the Connection and a reference to the inner Exception that is the cause of this Exception More...
 
 EDBConnectionNotAvailableException (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 the DB connection is not able to execute any SQL commands.

Constructor & Destructor Documentation

◆ EDBConnectionNotAvailableException() [1/4]

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

Initializes a new instance of this Exception Class.

◆ EDBConnectionNotAvailableException() [2/4]

Ict.Common.DB.Exceptions.EDBConnectionNotAvailableException.EDBConnectionNotAvailableException ( String  AConnectionInfo)
inline

Passes on information about the Connection.

Parameters
AConnectionInfoConnectionState (as String) of the Database connection.

◆ EDBConnectionNotAvailableException() [3/4]

Ict.Common.DB.Exceptions.EDBConnectionNotAvailableException.EDBConnectionNotAvailableException ( String  AConnectionInfo,
Exception  AInnerException 
)
inline

Passes on information about the Connection and a reference to the inner Exception that is the cause of this Exception

Parameters
AConnectionInfoConnectionState (as String) of the Database connection.
AInnerExceptionThe Exception that is the cause of the current Exception, or a null reference if no inner Exception is specified.

◆ EDBConnectionNotAvailableException() [4/4]

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