LibreOffice Module connectivity (master)
1
include
connectivity
standardsqlstate.hxx
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 INCLUDED_CONNECTIVITY_STANDARDSQLSTATE_HXX
21
#define INCLUDED_CONNECTIVITY_STANDARDSQLSTATE_HXX
22
23
#include <
sal/types.h
>
24
25
namespace
dbtools
26
{
27
28
35
enum class
StandardSQLState
36
{
37
INVALID_DESCRIPTOR_INDEX
,
// 07009
38
INVALID_CURSOR_STATE
,
// 24000
39
COLUMN_NOT_FOUND
,
// 42S22
40
GENERAL_ERROR
,
// HY000
41
INVALID_SQL_DATA_TYPE
,
// HY004
42
FUNCTION_SEQUENCE_ERROR
,
// HY010
43
INVALID_CURSOR_POSITION
,
// HY109
44
FEATURE_NOT_IMPLEMENTED
,
// HYC00
45
FUNCTION_NOT_SUPPORTED
,
// IM001
46
CONNECTION_DOES_NOT_EXIST
,
// 08003
47
48
ERROR_UNSPECIFIED
=
SAL_MAX_ENUM
// special value indicating that an SQLState is not to be specified
49
};
50
51
52
}
// namespace dbtools
53
54
55
#endif
// INCLUDED_CONNECTIVITY_STANDARDSQLSTATE_HXX
56
57
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
dbtools
dbtools::StandardSQLState
StandardSQLState
standard SQLStates to be used with an SQLException
Definition:
standardsqlstate.hxx:36
dbtools::StandardSQLState::FUNCTION_NOT_SUPPORTED
@ FUNCTION_NOT_SUPPORTED
dbtools::StandardSQLState::FUNCTION_SEQUENCE_ERROR
@ FUNCTION_SEQUENCE_ERROR
dbtools::StandardSQLState::FEATURE_NOT_IMPLEMENTED
@ FEATURE_NOT_IMPLEMENTED
dbtools::StandardSQLState::INVALID_DESCRIPTOR_INDEX
@ INVALID_DESCRIPTOR_INDEX
dbtools::StandardSQLState::INVALID_SQL_DATA_TYPE
@ INVALID_SQL_DATA_TYPE
dbtools::StandardSQLState::INVALID_CURSOR_POSITION
@ INVALID_CURSOR_POSITION
dbtools::StandardSQLState::INVALID_CURSOR_STATE
@ INVALID_CURSOR_STATE
dbtools::StandardSQLState::CONNECTION_DOES_NOT_EXIST
@ CONNECTION_DOES_NOT_EXIST
dbtools::StandardSQLState::ERROR_UNSPECIFIED
@ ERROR_UNSPECIFIED
dbtools::StandardSQLState::COLUMN_NOT_FOUND
@ COLUMN_NOT_FOUND
dbtools::StandardSQLState::GENERAL_ERROR
@ GENERAL_ERROR
types.h
SAL_MAX_ENUM
#define SAL_MAX_ENUM
Generated on Sun Jul 30 2023 04:42:08 for LibreOffice Module connectivity (master) by
1.9.3