From 1be414fc39ae67015615a9188cc39245a0c64220 Mon Sep 17 00:00:00 2001 From: Boris Kolpackov Date: Fri, 14 Nov 2014 16:24:50 +0200 Subject: Implement bulk database operation support for Oracle and SQL Server --- odb/qt/date-time/exceptions.cxx | 6 ++++++ odb/qt/date-time/exceptions.hxx | 3 +++ 2 files changed, 9 insertions(+) diff --git a/odb/qt/date-time/exceptions.cxx b/odb/qt/date-time/exceptions.cxx index 2e35936..e745aa7 100644 --- a/odb/qt/date-time/exceptions.cxx +++ b/odb/qt/date-time/exceptions.cxx @@ -15,6 +15,12 @@ namespace odb { return "date/time value out of range"; } + + value_out_of_range* value_out_of_range:: + clone () const + { + return new value_out_of_range (*this); + } } } } diff --git a/odb/qt/date-time/exceptions.hxx b/odb/qt/date-time/exceptions.hxx index bdbc590..70b8181 100644 --- a/odb/qt/date-time/exceptions.hxx +++ b/odb/qt/date-time/exceptions.hxx @@ -20,6 +20,9 @@ namespace odb { virtual const char* what () const throw (); + + virtual value_out_of_range* + clone () const; }; } } -- cgit v1.1