1//
2// ODBCException.cpp
3//
4// Library: Data/ODBC
5// Package: ODBC
6// Module: ODBCException
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/Data/ODBC/ODBCException.h"
16#include <typeinfo>
17
18
19namespace Poco {
20namespace Data {
21namespace ODBC {
22
23
24POCO_IMPLEMENT_EXCEPTION(ODBCException, Poco::Data::DataException, "Generic ODBC error")
25POCO_IMPLEMENT_EXCEPTION(InsufficientStorageException, ODBCException, "Insufficient storage error")
26POCO_IMPLEMENT_EXCEPTION(UnknownDataLengthException, ODBCException, "Unknown length of remaining data")
27POCO_IMPLEMENT_EXCEPTION(DataTruncatedException, ODBCException, "Variable length character or binary data truncated")
28
29
30} } } // namespace Poco::Data::ODBC
31