Skip to content

EStringListError

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

Exception raised when an error occurs in a method of TStrings .

Declaration

Source position: classesh.inc line 141

Type
  EStringListError = class (Exception)
  ;

Description

When an error occurs in one of the methods of TStrings then an EStringListError is raised. This can have one of the following causes:

There is not enough memory to expand the list. The list tried to grow beyond its maximal capacity. A non-existent element of the list was referenced. (i.e. the list index was out of bounds) An attempt was made to add a duplicate entry to a TStringList when TStringList.Duplicates is False.

MembersNo members available

Inheritance

Class Description
EStringListError Exception raised when an error occurs in a method of TStrings .

See also

Name Description
TStringList Standard implementation of the TStrings class.
TStrings Class to manage arrays or collections of strings