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

TStrings.Error

Raises an EStringListError exception.

Declaration

Source position: line 0

procedure TStrings.Error(

  const Msg: ;

  Data: Integer

);

procedure TStrings.Error(

  const Msg: PString;

  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.


Documentation generated on: Dec 15 2011