error.h File Reference
#include <qstring.h>
#include "kexidb/kexidb_export.h"
Go to the source code of this file.
Namespaces | |
| namespace | KexiDB |
Defines | |
| #define | ERR_NONE 0 |
| #define | ERR_NO_NAME_SPECIFIED 9 |
| #define | ERR_DRIVERMANAGER 10 |
| #define | ERR_INVALID_IDENTIFIER 11 |
| #define | ERR_MISSING_DB_LOCATION 20 |
| #define | ERR_ALREADY_CONNECTED 30 |
| #define | ERR_NO_CONNECTION 40 |
| when opened connection was expected using KexiDB::Connection | |
| #define | ERR_CONNECTION_FAILED 41 |
| when connection has failed | |
| #define | ERR_CLOSE_FAILED 42 |
| when closing has failed | |
| #define | ERR_NO_DB_USED 43 |
| when used database was expected in KexiDB::Connection | |
| #define | ERR_OBJECT_EXISTS 50 |
| #define | ERR_OBJECT_THE_SAME 51 |
| #define | ERR_OBJECT_NOT_FOUND 60 |
| #define | ERR_ACCESS_RIGHTS 70 |
| #define | ERR_TRANSACTION_ACTIVE 80 |
| #define | ERR_NO_TRANSACTION_ACTIVE 81 |
| #define | ERR_NO_DB_PROPERTY 90 |
| #define | ERR_DB_SPECIFIC 100 |
| #define | ERR_CURSOR_NOT_OPEN 110 |
| #define | ERR_SINGLE_DB_NAME_MISMATCH 120 |
| #define | ERR_CURSOR_RECORD_FETCHING 130 |
| eg. for Cursor::drv_getNextRecord() | |
| #define | ERR_UNSUPPORTED_DRV_FEATURE 140 |
| given driver's feature is unsupported (eg. transactins) | |
| #define | ERR_ROLLBACK_OR_COMMIT_TRANSACTION 150 |
| error during transaction rollback or commit | |
| #define | ERR_SYSTEM_NAME_RESERVED 160 |
| (e.g. for table, db, or field name) | |
| #define | ERR_CANNOT_CREATE_EMPTY_OBJECT 170 |
| (e.g. table without fields) | |
| #define | ERR_INVALID_DRIVER_IMPL 180 |
| #define | ERR_INCOMPAT_DRIVER_VERSION 181 |
| driver's version is incompatible | |
| #define | ERR_INCOMPAT_DATABASE_VERSION 182 |
| used Kexi version | |
| #define | ERR_INVALID_DATABASE_CONTENTS 183 |
| (e.g. no enough information to open db) | |
| #define | ERR_UPDATE_NULL_PKEY_FIELD 190 |
| null pkey field on updating | |
| #define | ERR_UPDATE_SERVER_ERROR 191 |
| error @ the server side during data updating | |
| #define | ERR_UPDATE_NO_MASTER_TABLE 192 |
| is no master table defined | |
| #define | ERR_UPDATE_NO_MASTER_TABLES_PKEY 193 |
| because it's master table has no primary key defined | |
| #define | ERR_UPDATE_NO_ENTIRE_MASTER_TABLES_PKEY 194 |
| because it does not contain entire master table's primary key | |
| #define | ERR_INSERT_NULL_PKEY_FIELD 220 |
| null pkey field on updating | |
| #define | ERR_INSERT_SERVER_ERROR 221 |
| error @ the server side during data inserting | |
| #define | ERR_INSERT_NO_MASTER_TABLE 222 |
| is no master table defined | |
| #define | ERR_INSERT_NO_MASTER_TABLES_PKEY 223 |
| table has no primary key defined | |
| #define | ERR_INSERT_NO_ENTIRE_MASTER_TABLES_PKEY 224 |
| because it does not contain entire master table's primary key | |
| #define | ERR_DELETE_NULL_PKEY_FIELD 250 |
| null pkey field on updating | |
| #define | ERR_DELETE_SERVER_ERROR 251 |
| error @ the server side during data deleting | |
| #define | ERR_DELETE_NO_MASTER_TABLE 252 |
| is no master table defined | |
| #define | ERR_DELETE_NO_MASTER_TABLES_PKEY 253 |
| table has no primary key defined | |
| #define | ERR_DELETE_NO_ENTIRE_MASTER_TABLES_PKEY 254 |
| because it does not contain entire master table's primary key | |
| #define | ERR_SQL_EXECUTION_ERROR 260 |
| usually returned by Connection::executeSQL() | |
| #define | ERR_SQL_PARSE_ERROR 270 |
| Parse error coming from arser::parse(). | |
| #define | ERR_OTHER 0xffff |
| use this if you have not (yet?) the name for given error | |
Define Documentation
|
|
Definition at line 43 of file error.h. Referenced by KexiDB::Connection::databaseExists(), KexiDB::SQLiteConnection::drv_dropDatabase(), and KexiDB::SQLiteConnection::drv_useDatabase(). |
|
|
Definition at line 35 of file error.h. Referenced by KexiDB::Connection::connect(). |
|
|
(e.g. table without fields)
Definition at line 55 of file error.h. Referenced by KexiDB::Connection::createTable(). |
|
|
when closing has failed
Definition at line 38 of file error.h. Referenced by KexiDB::SQLiteConnection::drv_closeDatabase(). |
|
|
when connection has failed
|
|
|
|
|
|
eg. for Cursor::drv_getNextRecord()
Definition at line 50 of file error.h. Referenced by KexiDB::Connection::checkIfColumnExists(), and KexiDB::Cursor::getNextRecord(). |
|
|
Definition at line 47 of file error.h. Referenced by KexiDB::pqxxSqlCursor::drv_open(), and KexiDB::MySqlCursor::drv_open(). |
|
|
because it does not contain entire master table's primary key
Definition at line 94 of file error.h. Referenced by KexiDB::Connection::deleteRow(). |
|
|
is no master table defined
Definition at line 90 of file error.h. Referenced by KexiDB::Connection::deleteRow(). |
|
|
table has no primary key defined
Definition at line 92 of file error.h. Referenced by KexiDB::Connection::deleteRow(). |
|
|
null pkey field on updating
Definition at line 88 of file error.h. Referenced by KexiDB::Connection::deleteRow(). |
|
|
error @ the server side during data deleting
Definition at line 89 of file error.h. Referenced by KexiDB::Connection::deleteAllRows(), KexiDB::Connection::deleteRow(), and KexiDB::Connection::removeObject(). |
|
|
|
used Kexi version
Definition at line 59 of file error.h. Referenced by KexiDB::Connection::useDatabase(). |
|
|
driver's version is incompatible
Definition at line 58 of file error.h. Referenced by KexiMigration::KexiMigrate::isValid(). |
|
|
because it does not contain entire master table's primary key
Definition at line 83 of file error.h. Referenced by KexiDB::Connection::insertRow(). |
|
|
is no master table defined
Definition at line 79 of file error.h. Referenced by KexiDB::Connection::insertRow(). |
|
|
table has no primary key defined
Definition at line 81 of file error.h. Referenced by KexiDB::Connection::insertRow(). |
|
|
null pkey field on updating
|
|
|
error @ the server side during data inserting
Definition at line 78 of file error.h. Referenced by KexiDB::Connection::insertRow(). |
|
|
(e.g. no enough information to open db)
|
|
|
|
|
|
Definition at line 33 of file error.h. Referenced by KexiDB::Connection::alterTableName(), KexiDB::Connection::setupField(), and KexiDB::Connection::setupObjectSchemaData(). |
|
|
Definition at line 34 of file error.h. Referenced by KexiDB::Driver::createConnection(). |
|
|
when opened connection was expected using KexiDB::Connection
Definition at line 36 of file error.h. Referenced by KexiDB::Connection::checkConnected(), and KexiDB::pqxxSqlCursor::drv_open(). |
|
|
Definition at line 46 of file error.h. Referenced by KexiProject::openInternal(), and KexiDB::DatabaseProperties::value(). |
|
|
when used database was expected in KexiDB::Connection
Definition at line 39 of file error.h. Referenced by KexiDB::Connection::checkIsDatabaseUsed(), and KexiDB::Connection::useTemporaryDatabaseIfNeeded(). |
|
|
Definition at line 31 of file error.h. Referenced by KexiDB::Connection::dropDatabase(). |
|
|
Definition at line 45 of file error.h. Referenced by KexiDB::Connection::commitTransaction(), and KexiDB::Connection::rollbackTransaction(). |
|
|
Fine-grained KexiDB error codes Definition at line 30 of file error.h. Referenced by KexiDB::Object::setError(). |
|
|
Definition at line 40 of file error.h. Referenced by KexiDB::Connection::alterTableName(), KexiDB::Connection::createDatabase(), and KexiDB::Connection::createTable(). |
|
|
Definition at line 42 of file error.h. Referenced by KexiDB::Connection::alterTableName(), KexiDB::Connection::databaseExists(), KexiDB::Connection::dropQuery(), KexiDB::Connection::dropTable(), KexiDB::Connection::drv_databaseExists(), and KexiDB::Connection::setupQuerySchema(). |
|
|
Definition at line 41 of file error.h. Referenced by KexiDB::Connection::alterTable(), and KexiDB::Connection::alterTableName(). |
|
|
use this if you have not (yet?) the name for given error
Definition at line 103 of file error.h. Referenced by KexiDB::Object::setError(). |
|
|
error during transaction rollback or commit
Definition at line 52 of file error.h. Referenced by KexiDB::Connection::commitTransaction(), and KexiDB::Connection::rollbackTransaction(). |
|
|
|
|
|
usually returned by Connection::executeSQL()
Definition at line 99 of file error.h. Referenced by KexiDB::Connection::executeSQL(), and KexiDB::Cursor::open(). |
|
|
Parse error coming from arser::parse().
Definition at line 101 of file error.h. Referenced by KexiDB::Connection::setupQuerySchema(). |
|
|
(e.g. for table, db, or field name)
Definition at line 53 of file error.h. Referenced by KexiDB::Connection::createDatabase(), KexiDB::Connection::createTable(), KexiDB::Connection::dropDatabase(), and KexiDB::Connection::dropTable(). |
|
|
Definition at line 44 of file error.h. Referenced by KexiDB::Connection::beginTransaction(). |
|
|
given driver's feature is unsupported (eg. transactins)
|
|
|
because it does not contain entire master table's primary key
Definition at line 72 of file error.h. Referenced by KexiDB::Connection::updateRow(). |
|
|
is no master table defined
Definition at line 67 of file error.h. Referenced by KexiDB::Connection::updateRow(). |
|
|
because it's master table has no primary key defined
Definition at line 69 of file error.h. Referenced by KexiDB::Connection::updateRow(). |
|
|
null pkey field on updating
Definition at line 65 of file error.h. Referenced by KexiDB::Connection::updateRow(). |
|
|
error @ the server side during data updating
Definition at line 66 of file error.h. Referenced by KexiDB::Connection::updateRow(). |
