Unit 'Classes' Package
[Overview][Constants][Types][Classes][Procedures and functions][Variables][Index] [#rtl]

EReadError

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

Exception raised if an error occurs while reading from a stream.

Declaration

Source position: classesh.inc line 141

type EReadError = class(EFilerError)

Inheritance

EReadError

  

Exception raised if an error occurs while reading from a stream.

|

EFilerError

  

Exception raised by the component streaming system if an error occurs.

|

EStreamError

  

Exception raised when an error occurs during read or write operations on a stream.

|

Exception

  

Base class of all exceptions.

|

TObject

  

Base class of all classes.

Description

If an error occurs when reading from a stream, a EReadError exception is raised. Possible causes for this are:

  1. Not enough data is available when reading from a stream
  2. The stream containing a component's data contains invalid data. this will occur only when reading a component from a stream.

See also

EFilerError

  

Exception raised by the component streaming system if an error occurs.

EWriteError

  

Exception raised when an error occurs during writing to a stream.


Documentation generated on: Nov 22 2024