1*d34edd0aSAndrew Rist/**************************************************************
2cdf0e10cSrcweir *
3*d34edd0aSAndrew Rist * Licensed to the Apache Software Foundation (ASF) under one
4*d34edd0aSAndrew Rist * or more contributor license agreements.  See the NOTICE file
5*d34edd0aSAndrew Rist * distributed with this work for additional information
6*d34edd0aSAndrew Rist * regarding copyright ownership.  The ASF licenses this file
7*d34edd0aSAndrew Rist * to you under the Apache License, Version 2.0 (the
8*d34edd0aSAndrew Rist * "License"); you may not use this file except in compliance
9*d34edd0aSAndrew Rist * with the License.  You may obtain a copy of the License at
10*d34edd0aSAndrew Rist *
11*d34edd0aSAndrew Rist *   http://www.apache.org/licenses/LICENSE-2.0
12*d34edd0aSAndrew Rist *
13*d34edd0aSAndrew Rist * Unless required by applicable law or agreed to in writing,
14*d34edd0aSAndrew Rist * software distributed under the License is distributed on an
15*d34edd0aSAndrew Rist * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
16*d34edd0aSAndrew Rist * KIND, either express or implied.  See the License for the
17*d34edd0aSAndrew Rist * specific language governing permissions and limitations
18*d34edd0aSAndrew Rist * under the License.
19*d34edd0aSAndrew Rist *
20*d34edd0aSAndrew Rist *************************************************************/
21*d34edd0aSAndrew Rist
22*d34edd0aSAndrew Rist
23cdf0e10cSrcweir
24cdf0e10cSrcweir// note: the resource IDs of the strings herein *must* correspond to the
25cdf0e10cSrcweir// com::sun::star::sdb::ErrorCondition values.
26cdf0e10cSrcweir//
27cdf0e10cSrcweir// For a given error condition value n, the message string must have ID
28cdf0e10cSrcweir// <code>256 + 2*n</code>, and the SQL state string (if applicable) must
29cdf0e10cSrcweir// have ID <code>256 + 2*n + 1</code>.
30cdf0e10cSrcweir//
31cdf0e10cSrcweir// The messages must be localized, the SQL states must *not*.
32cdf0e10cSrcweir
33cdf0e10cSrcweir// ROW_SET_OPERATION_VETOED = 100
34cdf0e10cSrcweirString 256 + 2*100 + 0
35cdf0e10cSrcweir{
36cdf0e10cSrcweir    Text [ en-US ] = "The record operation has been vetoed.";
37cdf0e10cSrcweir};
38cdf0e10cSrcweir
39cdf0e10cSrcweir// PARSER_CYCLIC_SUB_QUERIES = 200
40cdf0e10cSrcweirString 256 + 2*200 + 0
41cdf0e10cSrcweir{
42cdf0e10cSrcweir    Text [ en-US ] = "The statement contains a cyclic reference to one or more sub queries.";
43cdf0e10cSrcweir};
44cdf0e10cSrcweir
45cdf0e10cSrcweir// DB_OBJECT_NAME_WITH_SLASHES = 300
46cdf0e10cSrcweirString 256 + 2*300 + 0
47cdf0e10cSrcweir{
48cdf0e10cSrcweir    Text [ en-US ] = "The name must not contain any slashes ('/').";
49cdf0e10cSrcweir};
50cdf0e10cSrcweir
51cdf0e10cSrcweir// DB_INVALID_SQL_NAME = 301
52cdf0e10cSrcweirString 256 + 2*301 + 0
53cdf0e10cSrcweir{
54cdf0e10cSrcweir    Text [ en-US ] = "$1$ is no SQL conform identifier.";
55cdf0e10cSrcweir};
56cdf0e10cSrcweir
57cdf0e10cSrcweir// DB_QUERY_NAME_WITH_QUOTES = 302
58cdf0e10cSrcweirString 256 + 2*302 + 0
59cdf0e10cSrcweir{
60cdf0e10cSrcweir    Text [ en-US ] = "Query names must not contain quote characters.";
61cdf0e10cSrcweir};
62cdf0e10cSrcweir
63cdf0e10cSrcweir// DB_OBJECT_NAME_IS_USED = 303
64cdf0e10cSrcweirString 256 + 2*303 + 0
65cdf0e10cSrcweir{
66cdf0e10cSrcweir    Text [ en-US ] = "The name '$1$' is already in use in the database.";
67cdf0e10cSrcweir};
68cdf0e10cSrcweir
69cdf0e10cSrcweir// DB_NOT_CONNECTED = 304
70cdf0e10cSrcweirString 256 + 2*304 + 0
71cdf0e10cSrcweir{
72cdf0e10cSrcweir	Text [ en-US ] = "No connection to the database exists.";
73cdf0e10cSrcweir};
74cdf0e10cSrcweir
75cdf0e10cSrcweirString 256 + 2*304 + 1
76cdf0e10cSrcweir{
77cdf0e10cSrcweir	Text = "08003";
78cdf0e10cSrcweir};
79cdf0e10cSrcweir
80cdf0e10cSrcweirString 256 + 2*500 + 0
81cdf0e10cSrcweir{
82cdf0e10cSrcweir    Text [ en-US ] = "No $1$ exists.";
83cdf0e10cSrcweir};
84cdf0e10cSrcweir
85cdf0e10cSrcweir// DATA_CANNOT_SELECT_UNFILTERED = 550
86cdf0e10cSrcweirString 256 + 2*550 + 0
87cdf0e10cSrcweir{
88cdf0e10cSrcweir    Text [ en-US ] = "Unable to display the complete table content. Please apply a filter.";
89cdf0e10cSrcweir};
90cdf0e10cSrcweir
91cdf0e10cSrcweirString 256 + 2*550 + 1
92cdf0e10cSrcweir{
93cdf0e10cSrcweir    Text = "IM001";
94cdf0e10cSrcweir};
95cdf0e10cSrcweir
96