FireDAC.Stan.Error.TFDCommandExceptionKind

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

TFDCommandExceptionKind = (ekOther, ekNoDataFound, ekTooManyRows,
ekRecordLocked, ekUKViolated, ekFKViolated, ekObjNotExists,
ekUserPwdInvalid, ekUserPwdExpired, ekUserPwdWillExpire, ekCmdAborted,
ekServerGone, ekServerOutput, ekArrExecMalfunc, ekInvalidParams);

C++

enum DECLSPEC_DENUM TFDCommandExceptionKind : unsigned int { ekOther, ekNoDataFound, ekTooManyRows, ekRecordLocked, ekUKViolated, ekFKViolated, ekObjNotExists, ekUserPwdInvalid, ekUserPwdExpired, ekUserPwdWillExpire, ekCmdAborted, ekServerGone, ekServerOutput, ekArrExecMalfunc, ekInvalidParams };

Properties

Type Visibility Source Unit Parent
enum public
FireDAC.Stan.Error.pas
FireDAC.Stan.Error.hpp
FireDAC.Stan.Error FireDAC.Stan.Error

Description

Represents the kinds of exceptions that can occur in response to any FireDAC component communicating with a database.

Exception Description

ekOther

The error does not fall into any of the categories listed below.

ekNoDataFound

A query requesting an exact specified number of rows returned more rows than requested.

ekTooManyRows

A query requesting an exact specified number of rows returned no rows.

ekRecordLocked

A trial to update or lock some rows failed because some of these rows are already locked by another session.

ekUKViolated

A trial to modify the database failed with a unique constraint violation.

ekFKViolated

A trial to modify the database failed with a primary key constraint violation.

ekObjNotExists

The DROP command failed because the specified object does not exist.

ekUserPwdInvalid

A password and/or a user name that was specified for login to the database are not correct.

ekUserPwdExpired

A password or user account that was specified for login to the database has expired.

ekUserPwdWillExpire

A password or user account that was specified for login to the database will expire.

ekCmdAborted

A currently executing database request was aborted by the calling application.

ekServerGone

A database or database server is not accessible, or an existing database session was terminated for some reason.

ekServerOutput

A database server provided some non-error and non-warning informational messages.

ekArrExecMalfunc

An Array DML request failed due to some system failure or constraints.

ekInvalidParams

An SQL command contains invalid parameter specifiers.

See Also