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

Thrown by the TDataBase Class if the user doesn't have enough rights to execute the query. More...

Inheritance diagram for Ict.Common.Exceptions.ESecurityDBTableAccessDeniedException:
Ict.Common.Exceptions.ESecurityAccessDeniedException Ict.Common.Exceptions.EOPAppException Ict.Common.Exceptions.EOPException

Public Member Functions

 ESecurityDBTableAccessDeniedException ()
 Initializes a new instance of this Exception Class. More...
 
 ESecurityDBTableAccessDeniedException (String AMessage)
 Initializes a new instance of this Exception Class with a specified error message. More...
 
 ESecurityDBTableAccessDeniedException (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...
 
 ESecurityDBTableAccessDeniedException (String AMessage, String AAccessRight, String ADBTable)
 Initializes a new instance of this Exception Class with a specified error message, access right and Database Table. More...
 
 ESecurityDBTableAccessDeniedException (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 AccessRight [get, set]
 'create', 'modify', 'delete' or 'inquire' More...
 
String DBTable [get, set]
 table name that cannot be accessed More...
 
String Context [get, set]
 Context in which the access was denied. More...
 

Detailed Description

Thrown by the TDataBase Class if the user doesn't have enough rights to execute the query.

Constructor & Destructor Documentation

◆ ESecurityDBTableAccessDeniedException() [1/5]

Ict.Common.Exceptions.ESecurityDBTableAccessDeniedException.ESecurityDBTableAccessDeniedException ( )
inline

Initializes a new instance of this Exception Class.

◆ ESecurityDBTableAccessDeniedException() [2/5]

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

◆ ESecurityDBTableAccessDeniedException() [3/5]

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

◆ ESecurityDBTableAccessDeniedException() [4/5]

Ict.Common.Exceptions.ESecurityDBTableAccessDeniedException.ESecurityDBTableAccessDeniedException ( String  AMessage,
String  AAccessRight,
String  ADBTable 
)
inline

Initializes a new instance of this Exception Class with a specified error message, access right and Database Table.

Parameters
AMessageThe error message that explains the reason for the Exception.
AAccessRightAccess right.
ADBTableDatabase Table.

◆ ESecurityDBTableAccessDeniedException() [5/5]

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

◆ AccessRight

String Ict.Common.Exceptions.ESecurityDBTableAccessDeniedException.AccessRight
getset

'create', 'modify', 'delete' or 'inquire'

◆ Context

String Ict.Common.Exceptions.ESecurityAccessDeniedException.Context
getsetinherited

Context in which the access was denied.

◆ DBTable

String Ict.Common.Exceptions.ESecurityDBTableAccessDeniedException.DBTable
getset

table name that cannot be accessed


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