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

Thrown if a Batch number in a given Ledger number is invalid. More...

Inheritance diagram for Ict.Common.Exceptions.EFinanceSystemInvalidBatchNumberException:
Ict.Common.Exceptions.EFinanceSystemUnexpectedStateException Ict.Common.Exceptions.EOPException

Public Member Functions

 EFinanceSystemInvalidBatchNumberException ()
 Initializes a new instance of this Exception Class. More...
 
 EFinanceSystemInvalidBatchNumberException (String AMessage)
 Initializes a new instance of this Exception Class with a specified error message. More...
 
 EFinanceSystemInvalidBatchNumberException (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...
 
 EFinanceSystemInvalidBatchNumberException (String AMessage, int ALedgerNumber, int ABatchNumber)
 Initializes a new instance of this Exception Class with a specified error message and ledger number. More...
 
 EFinanceSystemInvalidBatchNumberException (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

int LedgerNumber [get, set]
 Ledger number More...
 
int BatchNumber [get, set]
 Ledger number More...
 

Detailed Description

Thrown if a Batch number in a given Ledger number is invalid.

Constructor & Destructor Documentation

◆ EFinanceSystemInvalidBatchNumberException() [1/5]

Ict.Common.Exceptions.EFinanceSystemInvalidBatchNumberException.EFinanceSystemInvalidBatchNumberException ( )
inline

Initializes a new instance of this Exception Class.

◆ EFinanceSystemInvalidBatchNumberException() [2/5]

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

◆ EFinanceSystemInvalidBatchNumberException() [3/5]

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

◆ EFinanceSystemInvalidBatchNumberException() [4/5]

Ict.Common.Exceptions.EFinanceSystemInvalidBatchNumberException.EFinanceSystemInvalidBatchNumberException ( String  AMessage,
int  ALedgerNumber,
int  ABatchNumber 
)
inline

Initializes a new instance of this Exception Class with a specified error message and ledger number.

Parameters
AMessageThe error message that explains the reason for the Exception.
ALedgerNumberLedger number.
ABatchNumberBatch number.

◆ EFinanceSystemInvalidBatchNumberException() [5/5]

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

◆ BatchNumber

int Ict.Common.Exceptions.EFinanceSystemInvalidBatchNumberException.BatchNumber
getset

Ledger number

◆ LedgerNumber

int Ict.Common.Exceptions.EFinanceSystemInvalidBatchNumberException.LedgerNumber
getset

Ledger number


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