Show: Delphi C++
Display Preferences

System.Classes.EListError

From XE2 API Documentation
Jump to: navigation, search

System.SysUtils.ExceptionSystem.TObject
EListError

Delphi

EListError = class(Exception);

C++

class PASCALIMPLEMENTATION EListError : public System::Sysutils::Exception

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.

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 the insertion of a string at a specified position may put the list out of order.

See Also

Personal tools
Previous Versions
Translations