RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
EListError Class

EListError is the exception class for list and string errors.

Pascal
EListError = class(Exception);
C++
class EListError : public Exception;

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. 

 

Copyright(C) 2009 Embarcadero Technologies, Inc. All Rights Reserved.
What do you think about this topic? Send feedback!