| 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 | |
| 19 | namespace Poco { |
| 20 | namespace Data { |
| 21 | namespace ODBC { |
| 22 | |
| 23 | |
| 24 | POCO_IMPLEMENT_EXCEPTION(ODBCException, Poco::Data::DataException, "Generic ODBC error") |
| 25 | POCO_IMPLEMENT_EXCEPTION(InsufficientStorageException, ODBCException, "Insufficient storage error") |
| 26 | POCO_IMPLEMENT_EXCEPTION(UnknownDataLengthException, ODBCException, "Unknown length of remaining data") |
| 27 | POCO_IMPLEMENT_EXCEPTION(DataTruncatedException, ODBCException, "Variable length character or binary data truncated") |
| 28 | |
| 29 | |
| 30 | } } } // namespace Poco::Data::ODBC |
| 31 |