OpenPetra
Free Administration Software for Non-Profits
Ict.Common.Data.Exceptions.EDBConcurrencyException Class Reference

Thrown by classes in the DataStore if the record that is beeing written to the DB has modifications by another user. More...

Inheritance diagram for Ict.Common.Data.Exceptions.EDBConcurrencyException:
Ict.Common.Data.Exceptions.EOPDBTypedDataAccessException Ict.Common.Exceptions.EOPDBException Ict.Common.Exceptions.EOPException Ict.Common.Data.Exceptions.EDBConcurrencyNoRowToUpdateException

Public Member Functions

 EDBConcurrencyException ()
 Initializes a new instance of this Exception Class. More...
 
 EDBConcurrencyException (String AMessage)
 Initializes a new instance of this Exception Class with a specified error message. More...
 
 EDBConcurrencyException (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...
 
 EDBConcurrencyException (String AMessage, String ADBOperation, String ADBTable, String ALastModificationUser, DateTime ALastModification)
 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...
 
 EDBConcurrencyException (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...
 

Properties

String DBOperation [get, set]
 Database Operation: either 'write', 'update' or 'delete'. More...
 
String DBTable [get, set]
 Database Table where the problem was encountered. More...
 
String LastModificationUser [get, set]
 Which user has changed the record in question last? More...
 
DateTime LastModification [get, set]
 When was the record in question changed last? More...
 

Detailed Description

Thrown by classes in the DataStore if the record that is beeing written to the DB has modifications by another user.

Constructor & Destructor Documentation

◆ EDBConcurrencyException() [1/5]

Ict.Common.Data.Exceptions.EDBConcurrencyException.EDBConcurrencyException ( )
inline

Initializes a new instance of this Exception Class.

◆ EDBConcurrencyException() [2/5]

Ict.Common.Data.Exceptions.EDBConcurrencyException.EDBConcurrencyException ( 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.

◆ EDBConcurrencyException() [3/5]

Ict.Common.Data.Exceptions.EDBConcurrencyException.EDBConcurrencyException ( 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.

◆ EDBConcurrencyException() [4/5]

Ict.Common.Data.Exceptions.EDBConcurrencyException.EDBConcurrencyException ( String  AMessage,
String  ADBOperation,
String  ADBTable,
String  ALastModificationUser,
DateTime  ALastModification 
)
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.
ADBOperationDatabase Operation: either 'write', 'update' or 'delete'.
ADBTableDatabase Table where the problem was encountered.
ALastModificationUserThe user which has changed the record in question last.
ALastModificationDateTime when the record in question was changed last.

◆ EDBConcurrencyException() [5/5]

Ict.Common.Data.Exceptions.EDBConcurrencyException.EDBConcurrencyException ( 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.Data.Exceptions.EDBConcurrencyException.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.

Property Documentation

◆ DBOperation

String Ict.Common.Data.Exceptions.EDBConcurrencyException.DBOperation
getset

Database Operation: either 'write', 'update' or 'delete'.

◆ DBTable

String Ict.Common.Data.Exceptions.EDBConcurrencyException.DBTable
getset

Database Table where the problem was encountered.

◆ LastModification

DateTime Ict.Common.Data.Exceptions.EDBConcurrencyException.LastModification
getset

When was the record in question changed last?

◆ LastModificationUser

String Ict.Common.Data.Exceptions.EDBConcurrencyException.LastModificationUser
getset

Which user has changed the record in question last?


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