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

Raised when a Database INSERT, UPDATE or DELETE query that was issued by the DataStore failed, or if it is to be issued and the DataStore determines that it cannot be issued for some reason. More...

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

Public Member Functions

 EDBSubmitException ()
 Initializes a new instance of this Exception Class. More...
 
 EDBSubmitException (String AMessage)
 Initializes a new instance of this Exception Class with a specified error message. More...
 
 EDBSubmitException (string AMessage, TTypedDataAccess.eSubmitChangesOperations ASubmitOperation)
 Initializes a new instance of this Exception Class with a specified error message and Submit Operation. More...
 
 EDBSubmitException (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...
 
 EDBSubmitException (string AMessage, Exception AInnerException, TTypedDataAccess.eSubmitChangesOperations ASubmitOperation)
 Initializes a new instance of this Exception Class with a specified error message, a reference to the inner Exception that is the cause of this Exception and the Submit Operation. More...
 
 EDBSubmitException (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

TTypedDataAccess.eSubmitChangesOperations SubmitOperation [get, set]
 Gets or sets the Submit Operation that was attempted to be executed. More...
 

Detailed Description

Raised when a Database INSERT, UPDATE or DELETE query that was issued by the DataStore failed, or if it is to be issued and the DataStore determines that it cannot be issued for some reason.

Constructor & Destructor Documentation

◆ EDBSubmitException() [1/6]

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

Initializes a new instance of this Exception Class.

◆ EDBSubmitException() [2/6]

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

◆ EDBSubmitException() [3/6]

Ict.Common.Data.Exceptions.EDBSubmitException.EDBSubmitException ( string  AMessage,
TTypedDataAccess.eSubmitChangesOperations  ASubmitOperation 
)
inline

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

Parameters
AMessageThe error message that explains the reason for the Exception.
ASubmitOperationThe Submit Operation that was attempted to be executed.

◆ EDBSubmitException() [4/6]

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

◆ EDBSubmitException() [5/6]

Ict.Common.Data.Exceptions.EDBSubmitException.EDBSubmitException ( string  AMessage,
Exception  AInnerException,
TTypedDataAccess.eSubmitChangesOperations  ASubmitOperation 
)
inline

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

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.
ASubmitOperationThe Submit Operation that was attempted to be executed.

◆ EDBSubmitException() [6/6]

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

◆ SubmitOperation

TTypedDataAccess.eSubmitChangesOperations Ict.Common.Data.Exceptions.EDBSubmitException.SubmitOperation
getset

Gets or sets the Submit Operation that was attempted to be executed.


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