[Overview][Types][Classes][Procedures and functions][Index] Reference for unit 'Laz2_XMLRead' (#lazutils)

EXMLReadError

[Properties (by Name)] [Methods (by Name)] [Events (by Name)]

Exception raised when reading XML content.

Declaration

Source position: laz2_xmlread.pas line 44

type EXMLReadError = class(Exception)

public

  property Severity: TErrorSeverity; [r]

  

Severity for the XML read error.

  property ErrorMessage: string; [r]

  

Error message for the XML read error.

  property Line: Integer; [r]

  

Line number in the XML content where the error occurred.

  property LinePos: Integer; [r]

  

Offset in the line where the error occurred.

  function LineCol;

  

TPoint with the line and column numbers where the error occurred.

end;

Inheritance

EXMLReadError

  

Exception raised when reading XML content.

|

Exception

|

TObject

Description

EXMLReadError is an Exception descendant raised when an error occurs while reading XML content. EXMLReadError provides properties that indicate the severity of the error, its error message, and the position where the error occurred.

EXMLReadError is used in the TXMLReader implementation class which de-serializes XML documents.

See also

TErrorSeverity

  

Represents error severity codes for XML read operations.


Version 3.2 Generated 2024-02-25 Home