aboutsummaryrefslogtreecommitdiff
path: root/odb/qt/date-time/exceptions.hxx
diff options
context:
space:
mode:
Diffstat (limited to 'odb/qt/date-time/exceptions.hxx')
-rw-r--r--odb/qt/date-time/exceptions.hxx31
1 files changed, 31 insertions, 0 deletions
diff --git a/odb/qt/date-time/exceptions.hxx b/odb/qt/date-time/exceptions.hxx
new file mode 100644
index 0000000..445b110
--- /dev/null
+++ b/odb/qt/date-time/exceptions.hxx
@@ -0,0 +1,31 @@
+// file : odb/qt/date-time/exceptions.hxx
+// author : Constantin Michael <constantin@codesynthesis.com>
+// copyright : Copyright (c) 2005-2011 Code Synthesis Tools CC
+// license : GNU GPL v2; see accompanying LICENSE file
+
+#ifndef ODB_QT_DATE_TIME_EXCEPTIONS_HXX
+#define ODB_QT_DATE_TIME_EXCEPTIONS_HXX
+
+#include <odb/pre.hxx>
+
+#include <odb/qt/exception.hxx>
+#include <odb/qt/details/export.hxx>
+
+namespace odb
+{
+ namespace qt
+ {
+ namespace date_time
+ {
+ struct LIBODB_QT_EXPORT value_out_of_range: exception
+ {
+ virtual const char*
+ what () const throw ();
+ };
+ }
+ }
+}
+
+#include <odb/post.hxx>
+
+#endif // ODB_QT_DATE_TIME_EXCEPTIONS_HXX