RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
TDBXContext.Error Method (TDBXErrorCode, UnicodeString)
Pascal
procedure Error(ErrorCode: TDBXErrorCode; ErrorMessage: UnicodeString); overload;
procedure Error(ErrorCode: TDBXErrorCode; ErrorMessage: UnicodeString; InnerException: Exception); overload;
C++
__fastcall Error(TDBXErrorCode ErrorCode, UnicodeString ErrorMessage);
__fastcall Error(TDBXErrorCode ErrorCode, UnicodeString ErrorMessage, Exception InnerException);

Error calls the TDBXErrorEvent routine. 

ErrorCode is a TDBXErrorCodes

ErrorMessage is a UnicodeString error message. 

NestedException is an Exception

 

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