[Overview][Constants][Types][Classes][Procedures and functions][Index] |
Constructor for the class instance.
Source position: laz2_dom.pas line 123
public constructor EDOMError.Create( |
ACode: Integer; |
const ASituation: string |
); |
ACode |
|
Error code for the DOM exception. |
ASituation |
|
Provides context information for the exception. |
Create is an overloaded variant of the constructor for the class instance. It allows an additional ASituation argument which describes the circumstance (or the class and method) where the Exception is raised. It calls the inherited constructor using the values in the ClassName property and the ASituation parameter as arguments.
This variant of the constructor is used in the implementation of methods of DOM classes like: TXMLDocument, TDOMDocument, TDOMImplementation, TDOMNamedNodeMap, TDOMNode, TDOMNode_NS, and TDOMElement.
Version 4.0 | Generated 2025-05-03 | Home |