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

Thrown if an OpenPetra User has no rights for a certain Security Module. More...

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

Public Member Functions

 ESecurityModuleAccessDeniedException ()
 Initializes a new instance of this Exception Class. More...
 
 ESecurityModuleAccessDeniedException (String AMessage)
 Initializes a new instance of this Exception Class with a specified error message. More...
 
 ESecurityModuleAccessDeniedException (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...
 
 ESecurityModuleAccessDeniedException (String AMessage, String AUserName, String AModule)
 Initializes a new instance of this Exception Class with a specified error message, OpenPetra Module and OpenPetra User. More...
 
 ESecurityModuleAccessDeniedException (String AMessage, String AUserName, String AModule, String AExceptionContext)
 Initializes a new instance of this Exception Class with a specified error message, context, OpenPetra Module and OpenPetra User. More...
 
 ESecurityModuleAccessDeniedException (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 Module [get, set]
 OpenPetra Module that cannot be accessed. More...
 
String UserName [get, set]
 OpenPetra User. More...
 
String Context [get, set]
 Context in which the access was denied. More...
 

Detailed Description

Thrown if an OpenPetra User has no rights for a certain Security Module.

Constructor & Destructor Documentation

◆ ESecurityModuleAccessDeniedException() [1/6]

Ict.Common.Exceptions.ESecurityModuleAccessDeniedException.ESecurityModuleAccessDeniedException ( )
inline

Initializes a new instance of this Exception Class.

◆ ESecurityModuleAccessDeniedException() [2/6]

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

◆ ESecurityModuleAccessDeniedException() [3/6]

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

◆ ESecurityModuleAccessDeniedException() [4/6]

Ict.Common.Exceptions.ESecurityModuleAccessDeniedException.ESecurityModuleAccessDeniedException ( String  AMessage,
String  AUserName,
String  AModule 
)
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.
AUserNameOpenPetra User.
AModuleOpenPetra Module that cannot be accessed.

◆ ESecurityModuleAccessDeniedException() [5/6]

Ict.Common.Exceptions.ESecurityModuleAccessDeniedException.ESecurityModuleAccessDeniedException ( String  AMessage,
String  AUserName,
String  AModule,
String  AExceptionContext 
)
inline

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

Parameters
AMessageThe error message that explains the reason for the Exception.
AUserNameOpenPetra User.
AModuleOpenPetra Module that cannot be accessed.
AExceptionContextThe context for this exception

◆ ESecurityModuleAccessDeniedException() [6/6]

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

Context in which the access was denied.

◆ Module

String Ict.Common.Exceptions.ESecurityModuleAccessDeniedException.Module
getset

OpenPetra Module that cannot be accessed.

◆ UserName

String Ict.Common.Exceptions.ESecurityModuleAccessDeniedException.UserName
getset

OpenPetra User.


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