System.Classes.TStream.ReadError

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

procedure ReadError; virtual;

C++

virtual void __fastcall ReadError();

Properties

Type Visibility Source Unit Parent
procedure
function
protected
System.Classes.pas
System.Classes.hpp
System.Classes TStream

Description

ReadError is called by the stream and raises the EReadError exception when a stream fails to execute a stream reading operation. The exception message is "Stream read error". If the stream Capabilities contains stcOSErrorInfo, an OS error description is appended to the message.


See Also