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

Base Class for all Security Exceptions. More...

Inheritance diagram for Ict.Common.Exceptions.ESecurityAccessDeniedException:
Ict.Common.Exceptions.EOPAppException Ict.Common.Exceptions.EOPException Ict.Common.Exceptions.ESecurityDBTableAccessDeniedException Ict.Common.Exceptions.ESecurityGroupAccessDeniedException Ict.Common.Exceptions.ESecurityModuleAccessDeniedException Ict.Common.Exceptions.ESecurityScreenAccessDeniedException Ict.Petra.Shared.MPartner.ESecurityPartnerAccessDeniedException

Public Member Functions

 ESecurityAccessDeniedException ()
 Initializes a new instance of this Exception Class. More...
 
 ESecurityAccessDeniedException (String AMessage)
 Initializes a new instance of this Exception Class with a specified error message. More...
 
 ESecurityAccessDeniedException (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...
 
 ESecurityAccessDeniedException (String AMessage, String AContext)
 Initializes a new instance of this Exception Class with a specified error message, OpenPetra Module and OpenPetra User. More...
 
 ESecurityAccessDeniedException (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 Context [get, set]
 Context in which the access was denied. More...
 

Detailed Description

Base Class for all Security Exceptions.

Constructor & Destructor Documentation

◆ ESecurityAccessDeniedException() [1/5]

Ict.Common.Exceptions.ESecurityAccessDeniedException.ESecurityAccessDeniedException ( )
inline

Initializes a new instance of this Exception Class.

◆ ESecurityAccessDeniedException() [2/5]

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

◆ ESecurityAccessDeniedException() [3/5]

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

◆ ESecurityAccessDeniedException() [4/5]

Ict.Common.Exceptions.ESecurityAccessDeniedException.ESecurityAccessDeniedException ( String  AMessage,
String  AContext 
)
inline

Initializes a new instance of this Exception Class with a specified error message, OpenPetra Module and OpenPetra User.

Parameters
AMessageThe error message that explains the reason for the Exception.
AContextContext in which the access was denied.

◆ ESecurityAccessDeniedException() [5/5]

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

◆ Context

String Ict.Common.Exceptions.ESecurityAccessDeniedException.Context
getset

Context in which the access was denied.


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