Skip to content

EListError

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

Exception raised when an error occurs in lists handling.

Declaration

Source position: classesh.inc line 138

Type
  EListError = class (Exception)
  ;

Description

If an error occurs in one of the TList or TStrings methods, then a EListError exception is raised. This can occur in one of the following cases:

There is not enough memory to expand the list. The list tried to grow beyond its maximal capacity. An attempt was made to reduce the capacity of the list below the current element count. An attempt was made to set the list count to a negative value. A non-existent element of the list was referenced. (i.e. the list index was out of bounds) An attempt was made to move an item to a position outside the list's bounds.

MembersNo members available

Inheritance

Class Description
EListError Exception raised when an error occurs in lists handling.

See also

Name Description
TList Class to manage collections of pointers.
TStrings Class to manage arrays or collections of strings