RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
EReconcileError.Create Constructor

Creates and initializes an instance of EReconcileError.

Pascal
constructor Create(NativeError: string; Context: string; ErrorCode: DBResult; PreviousError: DBResult);
C++
__fastcall EReconcileError(AnsiString NativeError, AnsiString Context, DBResult ErrorCode, DBResult PreviousError);

Create generates an EReconcileError object. 

NativeError is the runtime error message to display in the exception dialog box. 

Context provides context information about the error that occurred. If no context information is available, Context is nil (Delphi) or NULL (C++). Context initializes the Context property. 

ErrorCode is the error code returned by the underlying database access mechanism (ADO, BDE, or dbExpress). Not all exceptions are associated with an error code. If there is no error code, ErrorCode is 0. 

PreviousError is the error code of the last error in this reconciliation process. If the last exception did not have an error code, PreviousError is 0. 

 

Copyright(C) 2009 Embarcadero Technologies, Inc. All Rights Reserved.
What do you think about this topic? Send feedback!