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