1*cdf0e10cSrcweir/*************************************************************************
2*cdf0e10cSrcweir *
3*cdf0e10cSrcweir * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
4*cdf0e10cSrcweir *
5*cdf0e10cSrcweir * Copyright 2000, 2010 Oracle and/or its affiliates.
6*cdf0e10cSrcweir *
7*cdf0e10cSrcweir * OpenOffice.org - a multi-platform office productivity suite
8*cdf0e10cSrcweir *
9*cdf0e10cSrcweir * This file is part of OpenOffice.org.
10*cdf0e10cSrcweir *
11*cdf0e10cSrcweir * OpenOffice.org is free software: you can redistribute it and/or modify
12*cdf0e10cSrcweir * it under the terms of the GNU Lesser General Public License version 3
13*cdf0e10cSrcweir * only, as published by the Free Software Foundation.
14*cdf0e10cSrcweir *
15*cdf0e10cSrcweir * OpenOffice.org is distributed in the hope that it will be useful,
16*cdf0e10cSrcweir * but WITHOUT ANY WARRANTY; without even the implied warranty of
17*cdf0e10cSrcweir * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
18*cdf0e10cSrcweir * GNU Lesser General Public License version 3 for more details
19*cdf0e10cSrcweir * (a copy is included in the LICENSE file that accompanied this code).
20*cdf0e10cSrcweir *
21*cdf0e10cSrcweir * You should have received a copy of the GNU Lesser General Public License
22*cdf0e10cSrcweir * version 3 along with OpenOffice.org.  If not, see
23*cdf0e10cSrcweir * <http://www.openoffice.org/license.html>
24*cdf0e10cSrcweir * for a copy of the LGPLv3 License.
25*cdf0e10cSrcweir *
26*cdf0e10cSrcweir ************************************************************************/
27*cdf0e10cSrcweir
28*cdf0e10cSrcweir// note: the resource IDs of the strings herein *must* correspond to the
29*cdf0e10cSrcweir// com::sun::star::sdb::ErrorCondition values.
30*cdf0e10cSrcweir//
31*cdf0e10cSrcweir// For a given error condition value n, the message string must have ID
32*cdf0e10cSrcweir// <code>256 + 2*n</code>, and the SQL state string (if applicable) must
33*cdf0e10cSrcweir// have ID <code>256 + 2*n + 1</code>.
34*cdf0e10cSrcweir//
35*cdf0e10cSrcweir// The messages must be localized, the SQL states must *not*.
36*cdf0e10cSrcweir
37*cdf0e10cSrcweir// ROW_SET_OPERATION_VETOED = 100
38*cdf0e10cSrcweirString 256 + 2*100 + 0
39*cdf0e10cSrcweir{
40*cdf0e10cSrcweir    Text [ en-US ] = "The record operation has been vetoed.";
41*cdf0e10cSrcweir};
42*cdf0e10cSrcweir
43*cdf0e10cSrcweir// PARSER_CYCLIC_SUB_QUERIES = 200
44*cdf0e10cSrcweirString 256 + 2*200 + 0
45*cdf0e10cSrcweir{
46*cdf0e10cSrcweir    Text [ en-US ] = "The statement contains a cyclic reference to one or more sub queries.";
47*cdf0e10cSrcweir};
48*cdf0e10cSrcweir
49*cdf0e10cSrcweir// DB_OBJECT_NAME_WITH_SLASHES = 300
50*cdf0e10cSrcweirString 256 + 2*300 + 0
51*cdf0e10cSrcweir{
52*cdf0e10cSrcweir    Text [ en-US ] = "The name must not contain any slashes ('/').";
53*cdf0e10cSrcweir};
54*cdf0e10cSrcweir
55*cdf0e10cSrcweir// DB_INVALID_SQL_NAME = 301
56*cdf0e10cSrcweirString 256 + 2*301 + 0
57*cdf0e10cSrcweir{
58*cdf0e10cSrcweir    Text [ en-US ] = "$1$ is no SQL conform identifier.";
59*cdf0e10cSrcweir};
60*cdf0e10cSrcweir
61*cdf0e10cSrcweir// DB_QUERY_NAME_WITH_QUOTES = 302
62*cdf0e10cSrcweirString 256 + 2*302 + 0
63*cdf0e10cSrcweir{
64*cdf0e10cSrcweir    Text [ en-US ] = "Query names must not contain quote characters.";
65*cdf0e10cSrcweir};
66*cdf0e10cSrcweir
67*cdf0e10cSrcweir// DB_OBJECT_NAME_IS_USED = 303
68*cdf0e10cSrcweirString 256 + 2*303 + 0
69*cdf0e10cSrcweir{
70*cdf0e10cSrcweir    Text [ en-US ] = "The name '$1$' is already in use in the database.";
71*cdf0e10cSrcweir};
72*cdf0e10cSrcweir
73*cdf0e10cSrcweir// DB_NOT_CONNECTED = 304
74*cdf0e10cSrcweirString 256 + 2*304 + 0
75*cdf0e10cSrcweir{
76*cdf0e10cSrcweir	Text [ en-US ] = "No connection to the database exists.";
77*cdf0e10cSrcweir};
78*cdf0e10cSrcweir
79*cdf0e10cSrcweirString 256 + 2*304 + 1
80*cdf0e10cSrcweir{
81*cdf0e10cSrcweir	Text = "08003";
82*cdf0e10cSrcweir};
83*cdf0e10cSrcweir
84*cdf0e10cSrcweirString 256 + 2*500 + 0
85*cdf0e10cSrcweir{
86*cdf0e10cSrcweir    Text [ en-US ] = "No $1$ exists.";
87*cdf0e10cSrcweir};
88*cdf0e10cSrcweir
89*cdf0e10cSrcweir// DATA_CANNOT_SELECT_UNFILTERED = 550
90*cdf0e10cSrcweirString 256 + 2*550 + 0
91*cdf0e10cSrcweir{
92*cdf0e10cSrcweir    Text [ en-US ] = "Unable to display the complete table content. Please apply a filter.";
93*cdf0e10cSrcweir};
94*cdf0e10cSrcweir
95*cdf0e10cSrcweirString 256 + 2*550 + 1
96*cdf0e10cSrcweir{
97*cdf0e10cSrcweir    Text = "IM001";
98*cdf0e10cSrcweir};
99*cdf0e10cSrcweir
100