LibreOffice
LibreOffice 7.3 SDK API Reference
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 #ifndef __com_sun_star_sdb_ErrorCondition_idl__
21 #define __com_sun_star_sdb_ErrorCondition_idl__
22 
23 
24 module com { module sun { module star { module sdb {
25 
26 
58 constants ErrorCondition
59 {
60  // = section ROW_SET - css.sdb.RowSet related error conditions
61 
70  const long ROW_SET_OPERATION_VETOED = 100;
71 
72  // = section PARSER - parsing related error conditions
73 
82  const long PARSER_CYCLIC_SUB_QUERIES = 200;
83 
84  // = section DB - application-level error conditions
85  // = next section should start with 500
86 
90  const long DB_OBJECT_NAME_WITH_SLASHES = 300;
91 
94  const long DB_INVALID_SQL_NAME = 301;
95 
105  const long DB_QUERY_NAME_WITH_QUOTES = 302;
106 
120  const long DB_OBJECT_NAME_IS_USED = 303;
121 
125  const long DB_NOT_CONNECTED = 304;
126 
127  // = section AB - address book access related error conditions
128  // = next section should start with 550
129 
137  const long AB_ADDRESSBOOK_NOT_FOUND = 500;
138 
139  // = section DATA - data retrieval related error conditions
140  // = next section should start with 600
141 
153 };
154 
155 
156 }; }; }; };
157 
158 
159 #endif
160 
161 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */
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:90
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:137
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:125
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:120
const long DB_INVALID_SQL_NAME
indicates that an identifier is not SQL conform.
Definition: ErrorCondition.idl:94
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:70
const long DATA_CANNOT_SELECT_UNFILTERED
used to indicate that a SELECT operation on a table needs a filter.
Definition: ErrorCondition.idl:152
const long DB_QUERY_NAME_WITH_QUOTES
indicates that the name of a query contains quote characters.
Definition: ErrorCondition.idl:105
const long PARSER_CYCLIC_SUB_QUERIES
indicates that while parsing an SQL statement, cyclic sub queries have been detected.
Definition: ErrorCondition.idl:82
Definition: Ambiguous.idl:22