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

This Exception is thrown if the TLogging class was created using the Create() constructor (without the FileName parameter) and a logging request is made that would write to a Logfile. More...

Inheritance diagram for Ict.Common.ENoLoggingToFile_WrongConstructorUsedException:
Ict.Common.Exceptions.EOPAppException Ict.Common.Exceptions.EOPException

Public Member Functions

 ENoLoggingToFile_WrongConstructorUsedException ()
 Initializes a new instance of this Exception Class. More...
 
 ENoLoggingToFile_WrongConstructorUsedException (String AMessage)
 Initializes a new instance of this Exception Class with a specified error message. More...
 
 ENoLoggingToFile_WrongConstructorUsedException (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...
 
override void GetObjectData (SerializationInfo AInfo, StreamingContext AContext)
 Sets the SerializationInfo with information about this Exception. Needed for Remoting and general serialization. More...
 

Detailed Description

This Exception is thrown if the TLogging class was created using the Create() constructor (without the FileName parameter) and a logging request is made that would write to a Logfile.

Constructor & Destructor Documentation

◆ ENoLoggingToFile_WrongConstructorUsedException() [1/3]

Ict.Common.ENoLoggingToFile_WrongConstructorUsedException.ENoLoggingToFile_WrongConstructorUsedException ( )
inline

Initializes a new instance of this Exception Class.

◆ ENoLoggingToFile_WrongConstructorUsedException() [2/3]

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

◆ ENoLoggingToFile_WrongConstructorUsedException() [3/3]

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

Member Function Documentation

◆ GetObjectData()

override void Ict.Common.Exceptions.EOPAppException.GetObjectData ( SerializationInfo  AInfo,
StreamingContext  AContext 
)
inlineinherited

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.

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