summaryrefslogtreecommitdiff
path: root/libodb-qt/odb/qt/date-time/exceptions.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'libodb-qt/odb/qt/date-time/exceptions.cxx')
-rw-r--r--libodb-qt/odb/qt/date-time/exceptions.cxx25
1 files changed, 25 insertions, 0 deletions
diff --git a/libodb-qt/odb/qt/date-time/exceptions.cxx b/libodb-qt/odb/qt/date-time/exceptions.cxx
new file mode 100644
index 0000000..48f0540
--- /dev/null
+++ b/libodb-qt/odb/qt/date-time/exceptions.cxx
@@ -0,0 +1,25 @@
+// file : odb/qt/date-time/exceptions.cxx
+// license : GNU GPL v2; see accompanying LICENSE file
+
+#include <odb/qt/date-time/exceptions.hxx>
+
+namespace odb
+{
+ namespace qt
+ {
+ namespace date_time
+ {
+ const char* value_out_of_range::
+ what () const ODB_NOTHROW_NOEXCEPT
+ {
+ return "date/time value out of range";
+ }
+
+ value_out_of_range* value_out_of_range::
+ clone () const
+ {
+ return new value_out_of_range (*this);
+ }
+ }
+ }
+}