Class EContractException
Unit
Declaration
type EContractException = class(Exception)
Description
Exception class for contract-related errors.
Hierarchy
- TObject
- Exception
- EContractException
Overview
Methods
![]() |
constructor Create(const AMsg: string; const AItemError: TTradeRouteLegItemError; const ATradeRouteLeg: TTradeRouteLeg; const AForAllLegs: Boolean); reintroduce; |
Properties
![]() |
property ItemError: TTradeRouteLegItemError read FItemError; |
![]() |
property TradeRouteLeg: TTradeRouteLeg read FTradeRouteLeg; |
![]() |
property ForAllLegs: Boolean read FForAllLegs; |
Description
Methods
![]() |
constructor Create(const AMsg: string; const AItemError: TTradeRouteLegItemError; const ATradeRouteLeg: TTradeRouteLeg; const AForAllLegs: Boolean); reintroduce; |
|
Constructor. Parameters
| |
Properties
![]() |
property ItemError: TTradeRouteLegItemError read FItemError; |
|
Error type. | |
![]() |
property TradeRouteLeg: TTradeRouteLeg read FTradeRouteLeg; |
|
Trade route leg related to the error. Only the field associated with the error is relevant. | |
![]() |
property ForAllLegs: Boolean read FForAllLegs; |
|
Indicates if the error applies to all legs. | |
