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

Thrown in case a caller wants to start a new Transaction by calling BeginTransaction, but a Transaction is currently executing (parallel Transactions are not supported by ADO.NET!). More...

Inheritance diagram for Ict.Common.DB.Exceptions.EDBTransactionBusyException:
Ict.Common.DB.Exceptions.EDBAccessLackingCoordinationException Ict.Common.Exceptions.EOPDBException Ict.Common.Exceptions.EOPException

Public Member Functions

 EDBTransactionBusyException ()
 Initializes a new instance of this Exception Class. More...
 
 EDBTransactionBusyException (String AMessage)
 Initializes a new instance of this Exception Class with a specified error message. More...
 
 EDBTransactionBusyException (String AMessage, String ANestedTransactionProblemDetails)
 Initializes a new instance of this Exception Class with a specified error message and NestedTransactionProblemDetails. More...
 
 EDBTransactionBusyException (string AMessage, Exception AInnerException)
 Initializes a new instance of this Exception Class with a specified error message and a reference to the inner Exception that is the cause of this Exception. More...
 
 EDBTransactionBusyException (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...
 
override string ToString ()
 Creates and returns a string representation of the current EDBTransactionBusyException. More...
 

Properties

String NestedTransactionProblemDetails [get, set]
 Nested Transaction Problem Details. More...
 

Detailed Description

Thrown in case a caller wants to start a new Transaction by calling BeginTransaction, but a Transaction is currently executing (parallel Transactions are not supported by ADO.NET!).

Constructor & Destructor Documentation

◆ EDBTransactionBusyException() [1/5]

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

Initializes a new instance of this Exception Class.

◆ EDBTransactionBusyException() [2/5]

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

◆ EDBTransactionBusyException() [3/5]

Ict.Common.DB.Exceptions.EDBTransactionBusyException.EDBTransactionBusyException ( String  AMessage,
String  ANestedTransactionProblemDetails 
)
inline

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

Parameters
AMessageThe error message that explains the reason for the Exception.
ANestedTransactionProblemDetailsNested Transaction Problem Details.

◆ EDBTransactionBusyException() [4/5]

Ict.Common.DB.Exceptions.EDBTransactionBusyException.EDBTransactionBusyException ( string  AMessage,
Exception  AInnerException 
)
inline

Initializes a new instance of this Exception Class with a specified error message and a reference to the inner Exception that is the cause of this Exception.

Parameters
AMessageThe error message that explains the reason for the Exception.
AInnerExceptionThe Exception that is the cause of the current Exception, or a null reference if no inner Exception is specified.

◆ EDBTransactionBusyException() [5/5]

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

◆ ToString()

override string Ict.Common.DB.Exceptions.EDBTransactionBusyException.ToString ( )
inline

Creates and returns a string representation of the current EDBTransactionBusyException.

Returns
A string representation of the current EDBTransactionBusyException.

See https://msdn.microsoft.com/en-us/library/system.exception.tostring(v=vs.100).aspx for the standard .NET implementation of the System.Exception.ToString() Method.

Property Documentation

◆ NestedTransactionProblemDetails

String Ict.Common.DB.Exceptions.EDBTransactionBusyException.NestedTransactionProblemDetails
getset

Nested Transaction Problem Details.


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