Sign in Join
FPDoc Onlineexperiment

EStringListError class

In unit Classes

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

Declaration

pascal
EStringListError = class(Exception)

Inheritance

  1. EStringListError
  2. Exception
  3. TObject

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:

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

See also

Inherited

From Exception (12)

Create CreateFmt CreateFmtHelp CreateHelp CreateRes CreateResFmt CreateResFmtHelp CreateResHelp GetBaseException HelpContext Message ToString

From TObject (40)

AfterConstruction BeforeDestruction CheckDisposed ClassInfo ClassName ClassNameIs ClassParent ClassType CleanupInstance DefaultHandler DefaultHandlerStr Destroy Dispatch DispatchStr Disposed DisposeOf Equals FieldAddress Free FreeInstance GetDisposed GetHashCode GetInterface GetInterfaceByStr GetInterfaceEntry GetInterfaceEntryByStr GetInterfaceTable GetInterfaceWeak GetLastCastErrorInfo InheritsFrom InitInstance InstanceSize MethodAddress MethodName newinstance QualifiedClassName SafeCallException StringMessageTable SystemHasExtendedRTTI UnitName

An experiment, built from development snapshots. Not the official Free Pascal or Lazarus documentation.