LibreOffice: com/sun/star/sdb/ErrorCondition.idl Source File

LibreOffice LibreOffice 26.2 SDK API Reference

Loading...
Searching...
No Matches
ErrorCondition.idl
Go to the documentation of this file.
1/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
2/*
3 * This file is part of the LibreOffice project.
4 *
5 * This Source Code Form is subject to the terms of the Mozilla Public
6 * License, v. 2.0. If a copy of the MPL was not distributed with this
7 * file, You can obtain one at http://mozilla.org/MPL/2.0/.
8 *
9 * This file incorporates work covered by the following license notice:
10 *
11 * Licensed to the Apache Software Foundation (ASF) under one or more
12 * contributor license agreements. See the NOTICE file distributed
13 * with this work for additional information regarding copyright
14 * ownership. The ASF licenses this file to you under the Apache
15 * License, Version 2.0 (the "License"); you may not use this file
16 * except in compliance with the License. You may obtain a copy of
17 * the License at http://www.apache.org/licenses/LICENSE-2.0 .
18 */
19
20
21module com { module sun { module star { module sdb {
22
23
55constants ErrorCondition
56{
57 // = section ROW_SET - css.sdb.RowSet related error conditions
58
67 const long ROW_SET_OPERATION_VETOED = 100;
68
69 // = section PARSER - parsing related error conditions
70
79 const long PARSER_CYCLIC_SUB_QUERIES = 200;
80
81 // = section DB - application-level error conditions
82 // = next section should start with 500
83
87 const long DB_OBJECT_NAME_WITH_SLASHES = 300;
88
91 const long DB_INVALID_SQL_NAME = 301;
92
102 const long DB_QUERY_NAME_WITH_QUOTES = 302;
103
117 const long DB_OBJECT_NAME_IS_USED = 303;
118
122 const long DB_NOT_CONNECTED = 304;
123
124 // = section AB - address book access related error conditions
125 // = next section should start with 550
126
134 const long AB_ADDRESSBOOK_NOT_FOUND = 500;
135
136 // = section DATA - data retrieval related error conditions
137 // = next section should start with 600
138
149 const long DATA_CANNOT_SELECT_UNFILTERED = 550;
150};
151
152
153}; }; }; };
154
155
156/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
com::sun::star::sdb::ErrorCondition
defines error conditions for OpenOffice.org Base core components
Definition ErrorCondition.idl:56
com::sun::star::sdb::ErrorCondition::DB_OBJECT_NAME_WITH_SLASHES
const long DB_OBJECT_NAME_WITH_SLASHES
indicates that the name of a client side database object - a query, a form, or a report - contains on...
Definition ErrorCondition.idl:87
com::sun::star::sdb::ErrorCondition::AB_ADDRESSBOOK_NOT_FOUND
const long AB_ADDRESSBOOK_NOT_FOUND
used by the component implementing address book access to indicate that a requested address book coul...
Definition ErrorCondition.idl:134
com::sun::star::sdb::ErrorCondition::DB_NOT_CONNECTED
const long DB_NOT_CONNECTED
indicates an operation was attempted which needs a connection to the database, which did not exist at...
Definition ErrorCondition.idl:122
com::sun::star::sdb::ErrorCondition::DB_OBJECT_NAME_IS_USED
const long DB_OBJECT_NAME_IS_USED
indicates that an attempt was made to save a database object under a name which is already used in th...
Definition ErrorCondition.idl:117
com::sun::star::sdb::ErrorCondition::DB_INVALID_SQL_NAME
const long DB_INVALID_SQL_NAME
indicates that an identifier is not SQL conform.
Definition ErrorCondition.idl:91
com::sun::star::sdb::ErrorCondition::ROW_SET_OPERATION_VETOED
const long ROW_SET_OPERATION_VETOED
is used by and RowSet to indicate that an operation has been vetoed by one of its approval listeners
Definition ErrorCondition.idl:67
com::sun::star::sdb::ErrorCondition::DATA_CANNOT_SELECT_UNFILTERED
const long DATA_CANNOT_SELECT_UNFILTERED
used to indicate that a SELECT operation on a table needs a filter.
Definition ErrorCondition.idl:149
com::sun::star::sdb::ErrorCondition::DB_QUERY_NAME_WITH_QUOTES
const long DB_QUERY_NAME_WITH_QUOTES
indicates that the name of a query contains quote characters.
Definition ErrorCondition.idl:102
com::sun::star::sdb::ErrorCondition::PARSER_CYCLIC_SUB_QUERIES
const long PARSER_CYCLIC_SUB_QUERIES
indicates that while parsing an SQL statement, cyclic sub queries have been detected.
Definition ErrorCondition.idl:79
com
Definition Ambiguous.idl:20