diff options
Diffstat (limited to 'libodb-qt/odb/qt/exception.hxx')
-rw-r--r-- | libodb-qt/odb/qt/exception.hxx | 28 |
1 files changed, 28 insertions, 0 deletions
diff --git a/libodb-qt/odb/qt/exception.hxx b/libodb-qt/odb/qt/exception.hxx new file mode 100644 index 0000000..44646d5 --- /dev/null +++ b/libodb-qt/odb/qt/exception.hxx @@ -0,0 +1,28 @@ +// file : odb/qt/exception.hxx +// license : GNU GPL v2; see accompanying LICENSE file + +#ifndef ODB_QT_EXCEPTION_HXX +#define ODB_QT_EXCEPTION_HXX + +#include <odb/pre.hxx> + +#include <odb/exceptions.hxx> + +#include <odb/details/config.hxx> // ODB_NOTHROW_NOEXCEPT +#include <odb/qt/details/export.hxx> + +namespace odb +{ + namespace qt + { + struct LIBODB_QT_EXPORT exception: odb::exception + { + virtual const char* + what () const ODB_NOTHROW_NOEXCEPT = 0; + }; + } +} + +#include <odb/post.hxx> + +#endif // ODB_QT_EXCEPTION_HXX |