EStreamError

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

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

Declaration

Source position: classesh.inc line 125

Type
  EStreamError = class (Exception)
  ;

Description

An EStreamError is raised when an error occurs during reading from or writing to a stream: Possible causes are

  1. Not enough data is available in the stream.
  2. Trying to seek beyond the beginning or end of the stream.
  3. Trying to set the capacity of a memory stream and no memory is available.
  4. Trying to write to a read-only stream, such as a resource stream.
  5. Trying to read from a write-only stream.

MembersNo members available

Inheritance

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

See also

Name Description
EFCreateError Exception raised when an error occurred during creation of a TFileStream stream.