RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
EUpdateError.Create Constructor

Creates and initializes an instance of EUpdateError.

Pascal
constructor Create(NativeError: string; Context: string; ErrCode: Integer; PrevError: Integer; E: Exception);
C++
__fastcall EUpdateError(AnsiString NativeError, AnsiString Context, int ErrCode, int PrevError, Exception E);

Create generates an EUpdateError object to represent another error that is caught while applying updates. 

NativeError specifies the error message for the exception.  

Context is a string providing additional context information. It becomes the value of the Context property. 

ErrCode and PrevError specify error codes for this exception or the previous exception in this update operation. If the current exception or previous exception does not have an error code, the corresponding argument is 0. The ErrCode and PrevError parameters initialize the ErrorCode and PreviousError properties. 

Exception specifies the exception that was caught (which this EUpdateError represents). It becomes the value of the OriginalException property. 

 

Copyright(C) 2008 CodeGear(TM). All Rights Reserved.
What do you think about this topic? Send feedback!