LibreOffice
LibreOffice 24.2 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 
21 module com { module sun { module star { module sdb {
22 
23 
55 constants 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 
150 };
151 
152 
153 }; }; }; };
154 
155 
156 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */
const long DATA_CANNOT_SELECT_UNFILTERED
used to indicate that a SELECT operation on a table needs a filter.
Definition: ErrorCondition.idl:149
const long DB_INVALID_SQL_NAME
indicates that an identifier is not SQL conform.
Definition: ErrorCondition.idl:91
Definition: Ambiguous.idl:20
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
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
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
const long DB_QUERY_NAME_WITH_QUOTES
indicates that the name of a query contains quote characters.
Definition: ErrorCondition.idl:102
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
const long PARSER_CYCLIC_SUB_QUERIES
indicates that while parsing an SQL statement, cyclic sub queries have been detected.
Definition: ErrorCondition.idl:79
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