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

This exception transports the error message and if the reason was another exception to the end of the routine. ResultCollection unpacks this data into a TVerificationResultCollection object, so that the user gets this message on the "normal" message box. More...

Inheritance diagram for Ict.Common.Verification.EVerificationException:
Ict.Common.Exceptions.EOPAppException Ict.Common.Exceptions.EOPException

Public Member Functions

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

Public Attributes

string ErrorCode = String.Empty
 Property to handle (transport) the error code More...
 
string Context = String.Empty
 Property to handle (transport) the error context More...
 

Detailed Description

This exception transports the error message and if the reason was another exception to the end of the routine. ResultCollection unpacks this data into a TVerificationResultCollection object, so that the user gets this message on the "normal" message box.

Constructor & Destructor Documentation

◆ EVerificationException() [1/3]

Ict.Common.Verification.EVerificationException.EVerificationException ( )
inline

Initializes a new instance of this Exception Class.

◆ EVerificationException() [2/3]

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

◆ EVerificationException() [3/3]

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

◆ ResultCollection()

TVerificationResultCollection Ict.Common.Verification.EVerificationException.ResultCollection ( )
inline

A Method to transform the exception message(s) into a TVerificationResultCollection

Returns

Member Data Documentation

◆ Context

string Ict.Common.Verification.EVerificationException.Context = String.Empty

Property to handle (transport) the error context

◆ ErrorCode

string Ict.Common.Verification.EVerificationException.ErrorCode = String.Empty

Property to handle (transport) the error code


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