Sign in Join
FPDoc Onlineexperiment

EUpdateError.Create constructor

Member of EUpdateErrorpublicIn unit DB

Create a new EUpdateError instance.

Declaration

pascal
constructor Create(NativeError: string; Context: string; 
 ErrCode: Integer; PrevError: Integer; E: Exception)

Arguments

NativeError

Native error description.

Context

Context in which error occurred, if applicable.

ErrCode

Numerical error code, if applicable.

PrevError

Previous error number.

E

Actual exception object.

Description

Create instantiates a new EUpdateError object and populates the various properties with the NativeError, Context, ErrCode and PrevError parameters. The E parameter is the actual exception that occurred while the update operation was attempted. The exception object E will be freed if the EUpdateError instance is freed.

See also

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