summaryrefslogtreecommitdiff
path: root/libodb/odb/details/win32/exceptions.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'libodb/odb/details/win32/exceptions.cxx')
-rw-r--r--libodb/odb/details/win32/exceptions.cxx22
1 files changed, 22 insertions, 0 deletions
diff --git a/libodb/odb/details/win32/exceptions.cxx b/libodb/odb/details/win32/exceptions.cxx
new file mode 100644
index 0000000..3cf11c2
--- /dev/null
+++ b/libodb/odb/details/win32/exceptions.cxx
@@ -0,0 +1,22 @@
+// file : odb/details/win32/exceptions.cxx
+// license : GNU GPL v2; see accompanying LICENSE file
+
+#include <odb/details/win32/exceptions.hxx>
+
+namespace odb
+{
+ namespace details
+ {
+ const char* win32_exception::
+ what () const ODB_NOTHROW_NOEXCEPT
+ {
+ return "Win32 API error";
+ }
+
+ win32_exception* win32_exception::
+ clone () const
+ {
+ return new win32_exception (*this);
+ }
+ }
+}