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

Thrown in case a caller wants to use a DB Transaction and that DB Transaction is no longer Valid (i.e. that DB Transaction has already been Committed or Rolled Back). More...

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

Public Member Functions

 EDBAttemptingToUseTransactionThatIsInvalidException ()
 Initializes a new instance of this Exception Class. More...
 
 EDBAttemptingToUseTransactionThatIsInvalidException (String AMessage)
 Initializes a new instance of this Exception Class with a specified error message. More...
 
 EDBAttemptingToUseTransactionThatIsInvalidException (String AMessage, String AThreadIdentifierOfThreadWhichStartedExistingTransaction, string AThreadIdentifierOfThreadWhichWantsToReuseExistingTransaction)
 Initializes a new instance of this Exception Class with a specified error message and ThreadIdentifierOfThreadWhichStartedExistingTransaction and ThreadIdentifierOfThreadWhichWantsToReuseExistingTransaction. More...
 
 EDBAttemptingToUseTransactionThatIsInvalidException (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...
 
 EDBAttemptingToUseTransactionThatIsInvalidException (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 EDBAttemptingToUseTransactionThatIsInvalidException. More...
 

Properties

String ThreadIdentifierOfThreadWhichStartedExistingTransaction [get, set]
 ThreadIdentifier of the Thread which started the existing Transaction. More...
 
String ThreadIdentifierOfThreadWhichWantsToReuseExistingTransaction [get, set]
 ThreadIdentifier of the Thread which wants to reuse an existing Transaction. More...
 

Detailed Description

Thrown in case a caller wants to use a DB Transaction and that DB Transaction is no longer Valid (i.e. that DB Transaction has already been Committed or Rolled Back).

Constructor & Destructor Documentation

◆ EDBAttemptingToUseTransactionThatIsInvalidException() [1/5]

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

Initializes a new instance of this Exception Class.

◆ EDBAttemptingToUseTransactionThatIsInvalidException() [2/5]

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

◆ EDBAttemptingToUseTransactionThatIsInvalidException() [3/5]

Ict.Common.DB.Exceptions.EDBAttemptingToUseTransactionThatIsInvalidException.EDBAttemptingToUseTransactionThatIsInvalidException ( String  AMessage,
String  AThreadIdentifierOfThreadWhichStartedExistingTransaction,
string  AThreadIdentifierOfThreadWhichWantsToReuseExistingTransaction 
)
inline

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

Parameters
AMessageThe error message that explains the reason for the Exception.
AThreadIdentifierOfThreadWhichStartedExistingTransactionThreadIdentifier of the Thread which started the existing Transaction.
AThreadIdentifierOfThreadWhichWantsToReuseExistingTransactionThreadIdentifier of the Thread which wants to reuse an existing Transaction.

◆ EDBAttemptingToUseTransactionThatIsInvalidException() [4/5]

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

◆ EDBAttemptingToUseTransactionThatIsInvalidException() [5/5]

Ict.Common.DB.Exceptions.EDBAttemptingToUseTransactionThatIsInvalidException.EDBAttemptingToUseTransactionThatIsInvalidException ( 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.EDBAttemptingToUseTransactionThatIsInvalidException.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.EDBAttemptingToUseTransactionThatIsInvalidException.ToString ( )
inline

Creates and returns a string representation of the current EDBAttemptingToUseTransactionThatIsInvalidException.

Returns
A string representation of the current EDBAttemptingToUseTransactionThatIsInvalidException.

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

◆ ThreadIdentifierOfThreadWhichStartedExistingTransaction

String Ict.Common.DB.Exceptions.EDBAttemptingToUseTransactionThatIsInvalidException.ThreadIdentifierOfThreadWhichStartedExistingTransaction
getset

ThreadIdentifier of the Thread which started the existing Transaction.

◆ ThreadIdentifierOfThreadWhichWantsToReuseExistingTransaction

String Ict.Common.DB.Exceptions.EDBAttemptingToUseTransactionThatIsInvalidException.ThreadIdentifierOfThreadWhichWantsToReuseExistingTransaction
getset

ThreadIdentifier of the Thread which wants to reuse an existing Transaction.


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