1//
2// SQLiteException.cpp
3//
4// Library: SQL/SQLite
5// Package: SQLite
6// Module: SQLiteException
7//
8// Copyright (c) 2006, Applied Informatics Software Engineering GmbH.
9// and Contributors.
10//
11// SPDX-License-Identifier: BSL-1.0
12//
13
14
15#include "Poco/SQL/SQLite/SQLiteException.h"
16#include <typeinfo>
17
18
19namespace Poco {
20namespace SQL {
21namespace SQLite {
22
23
24POCO_IMPLEMENT_EXCEPTION(SQLiteException, Poco::SQL::SQLException, "SQLite exception")
25POCO_IMPLEMENT_EXCEPTION(InvalidSQLStatementException, SQLiteException, "Invalid SQL statement")
26POCO_IMPLEMENT_EXCEPTION(InternalDBErrorException, SQLiteException, "Internal DB error")
27POCO_IMPLEMENT_EXCEPTION(DBAccessDeniedException, SQLiteException, "DB access denied")
28POCO_IMPLEMENT_EXCEPTION(ExecutionAbortedException, SQLiteException, "Execution aborted")
29POCO_IMPLEMENT_EXCEPTION(DBLockedException, SQLiteException, "DB locked")
30POCO_IMPLEMENT_EXCEPTION(TableLockedException, SQLiteException, "Table locked")
31POCO_IMPLEMENT_EXCEPTION(NoMemoryException, SQLiteException, "Out of Memory")
32POCO_IMPLEMENT_EXCEPTION(ReadOnlyException, SQLiteException, "Read only")
33POCO_IMPLEMENT_EXCEPTION(InterruptException, SQLiteException, "Interrupt")
34POCO_IMPLEMENT_EXCEPTION(IOErrorException, SQLiteException, "I/O error")
35POCO_IMPLEMENT_EXCEPTION(CorruptImageException, SQLiteException, "Corrupt image")
36POCO_IMPLEMENT_EXCEPTION(TableNotFoundException, SQLiteException, "Table not found")
37POCO_IMPLEMENT_EXCEPTION(DatabaseFullException, SQLiteException, "Database full")
38POCO_IMPLEMENT_EXCEPTION(CantOpenDBFileException, SQLiteException, "Can't open DB file")
39POCO_IMPLEMENT_EXCEPTION(LockProtocolException, SQLiteException, "Lock protocol")
40POCO_IMPLEMENT_EXCEPTION(SchemaDiffersException, SQLiteException, "Schema differs")
41POCO_IMPLEMENT_EXCEPTION(RowTooBigException, SQLiteException, "Row too big")
42POCO_IMPLEMENT_EXCEPTION(ConstraintViolationException, SQLiteException, "Constraint violation")
43POCO_IMPLEMENT_EXCEPTION(DataTypeMismatchException, SQLiteException, "Data type mismatch")
44POCO_IMPLEMENT_EXCEPTION(ParameterCountMismatchException, SQLiteException, "Parameter count mismatch")
45POCO_IMPLEMENT_EXCEPTION(InvalidLibraryUseException, SQLiteException, "Invalid library use")
46POCO_IMPLEMENT_EXCEPTION(OSFeaturesMissingException, SQLiteException, "OS features missing")
47POCO_IMPLEMENT_EXCEPTION(AuthorizationDeniedException, SQLiteException, "Authorization denied")
48POCO_IMPLEMENT_EXCEPTION(TransactionException, SQLiteException, "Transaction exception")
49
50
51} } } // namespace Poco::SQL::SQLite
52