Sign in Join
FPDoc Onlineexperiment

EStreamError class

In unit Classes

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

Declaration

pascal
EStreamError = class(Exception)

Inheritance

  1. EStreamError
  2. Exception
  3. TObject

Descends from it: EBlowFishError EFCreateError EFilerError EFOpenError EIDEAError EIOStreamError ENullStreamError EPipeError Ezliberror

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.

See also

Inherited

From Exception (12)

Create CreateFmt CreateFmtHelp CreateHelp CreateRes CreateResFmt CreateResFmtHelp CreateResHelp GetBaseException HelpContext Message ToString

From TObject (40)

AfterConstruction BeforeDestruction CheckDisposed ClassInfo ClassName ClassNameIs ClassParent ClassType CleanupInstance DefaultHandler DefaultHandlerStr Destroy Dispatch DispatchStr Disposed DisposeOf Equals FieldAddress Free FreeInstance GetDisposed GetHashCode GetInterface GetInterfaceByStr GetInterfaceEntry GetInterfaceEntryByStr GetInterfaceTable GetInterfaceWeak GetLastCastErrorInfo InheritsFrom InitInstance InstanceSize MethodAddress MethodName newinstance QualifiedClassName SafeCallException StringMessageTable SystemHasExtendedRTTI UnitName

An experiment, built from development snapshots. Not the official Free Pascal or Lazarus documentation.