API:System.Classes.EStringListError
Delphi
EStringListError = class(EListError);
C++
class PASCALIMPLEMENTATION EStringListError : public System::Sysutils::EListError
Properties
| Type | Visibility | Source | Unit | Parent |
|---|---|---|---|---|
| class | public | System.Classes.pas System.Classes.hpp |
System.Classes | System.Classes |
Description
EListError is the exception class for list and string errors.
System.Classes.EStringListError inherits from System.SysUtils.EListError. All content below this line refers to System.SysUtils.EListError.
EListError is the exception class for list and string errors.
EListError is raised when an error is made in a list, TStrings, or TStringList object. This exception commonly occurs when an application refers to an item that is out of the list's range.
EListError also occurs if an application tries to add a duplicate string to a TStringList object when the value of the Duplicates property is dupError.
An EListError exception is raised when an application attempts to insert a string into a sorted string list since inserting a string at a specified position may put the list out of order.