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