Unit 'SQLDB' Package
[Overview][Constants][Types][Classes][Procedures and functions][Variables][Index] [#fcl]

ESQLDatabaseError.CreateFmt

Create a new instance of ESQLDatabaseError.

Declaration

Source position: sqldb.pp line 127

public constructor ESQLDatabaseError.CreateFmt(

  const Fmt: string;

  const Args: array of Const;

  Comp: TComponent;

  AErrorCode: Integer;

  const ASQLState: string

); overload;

Arguments

Fmt

  

Format string.

Args

  

Arguments for format string.

Comp

  

Component raising the error.

AErrorCode

  

Native client error code.

ASQLState

  

Native client SQL reported state.

Description

CreateFmt is overloaded in ESQLDatabaseError to be able to specify the ErrorCode and SQLState.

See also

ESQLDatabaseError.ErrorCode

  

SQL engine error code.

ESQLDatabaseError.SQLState

  

ANSI SQL error state.


Documentation generated on: Nov 22 2024