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

Thrown if a transaction is expected on a DB connection but the current transaction is null. More...

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

Public Member Functions

 EDBNullTransactionException ()
 Initializes a new instance of this Exception Class. More...
 
 EDBNullTransactionException (String AMessage)
 Initializes a new instance with a specific error message. More...
 
 EDBNullTransactionException (String AMessage, Exception AInnerException)
 Initializes a new instance with a specific error message and the inner exception which caused this one. More...
 
 EDBNullTransactionException (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 a transaction is expected on a DB connection but the current transaction is null.

Constructor & Destructor Documentation

◆ EDBNullTransactionException() [1/4]

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

Initializes a new instance of this Exception Class.

◆ EDBNullTransactionException() [2/4]

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

Initializes a new instance with a specific error message.

Parameters
AMessageAn error message explaining the reason for this exception.

◆ EDBNullTransactionException() [3/4]

Ict.Common.DB.Exceptions.EDBNullTransactionException.EDBNullTransactionException ( String  AMessage,
Exception  AInnerException 
)
inline

Initializes a new instance with a specific error message and the inner exception which caused this one.

Parameters
AMessageAn error message explaining the reason for this exception.
AInnerExceptionThe Exception that is the cause of the current Exception, or a null reference if no inner Exception is specified.

◆ EDBNullTransactionException() [4/4]

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