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

Specialisation of EDBConcurrencyException - this is thrown if a record should be updated, but it isn't in the DB! More...

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

Public Member Functions

 EDBConcurrencyNoRowToUpdateException ()
 Initializes a new instance of this Exception Class. More...
 
 EDBConcurrencyNoRowToUpdateException (String AMessage)
 Initializes a new instance of this Exception Class with a specified error message. More...
 
 EDBConcurrencyNoRowToUpdateException (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...
 
 EDBConcurrencyNoRowToUpdateException (String AMessage, 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...
 
 EDBConcurrencyNoRowToUpdateException (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

Specialisation of EDBConcurrencyException - this is thrown if a record should be updated, but it isn't in the DB!

Constructor & Destructor Documentation

◆ EDBConcurrencyNoRowToUpdateException() [1/5]

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

Initializes a new instance of this Exception Class.

◆ EDBConcurrencyNoRowToUpdateException() [2/5]

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

◆ EDBConcurrencyNoRowToUpdateException() [3/5]

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

◆ EDBConcurrencyNoRowToUpdateException() [4/5]

Ict.Common.Data.Exceptions.EDBConcurrencyNoRowToUpdateException.EDBConcurrencyNoRowToUpdateException ( String  AMessage,
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.
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.

◆ EDBConcurrencyNoRowToUpdateException() [5/5]

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

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

◆ DBTable

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

Database Table where the problem was encountered.

◆ LastModification

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

When was the record in question changed last?

◆ LastModificationUser

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

Which user has changed the record in question last?


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