[Overview][Constants][Types][Classes][Procedures and functions][Variables] Reference for unit 'Classes' (#fcl)

TStrings.Error

Raises an EStringListError exception.

Declaration

protected procedure TStrings.Error(

  const Msg: String;

  Data: Integer

);

Description

Error raises an EStringListError exception. It passes Msg as a format with Data as the only argument.

This method can be used by descendent objects to raise an error.

See also

EStringListError

  

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