diff options
author | Karen Arutyunov <karen@codesynthesis.com> | 2024-02-01 20:51:20 +0300 |
---|---|---|
committer | Karen Arutyunov <karen@codesynthesis.com> | 2024-02-01 20:51:20 +0300 |
commit | 78c1908129fd940dbbc9da08f52657e26fe22e34 (patch) | |
tree | 33e5dbcaecb924e93160e6927e6c7dd863dd3ca9 /libodb-qt/odb/qt/date-time/exceptions.cxx | |
parent | 158bd7a1dd011b1ec0d7e99b9d22439ddec3eadb (diff) | |
parent | 5f1cd97b9727fe10df79e1eb316ff493d9dfc2a9 (diff) |
Merge branch 'libodb-qt' into multi-package
Diffstat (limited to 'libodb-qt/odb/qt/date-time/exceptions.cxx')
-rw-r--r-- | libodb-qt/odb/qt/date-time/exceptions.cxx | 25 |
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); + } + } + } +} |