RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
TDBXError.Create Constructor (TDBXErrorCode, UnicodeString)

Create a TDBXError instance.

Pascal
constructor Create(ErrorCode: TDBXErrorCode; const ErrorMessage: UnicodeString); overload;
constructor Create(ErrorCode: TDBXErrorCode; const ErrorMessage: UnicodeString; const InnerException: Exception); overload;
C++
__fastcall TDBXError(TDBXErrorCode ErrorCode, const UnicodeString ErrorMessage);
__fastcall TDBXError(TDBXErrorCode ErrorCode, const UnicodeString ErrorMessage, const Exception InnerException);

Create creates and initializes an instance of the TDBXError class, the exception class for the dbExpress framework. New exceptions you create should inherit from TDBXError

 

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