aboutsummaryrefslogtreecommitdiff
path: root/odb/mysql/exceptions.hxx
diff options
context:
space:
mode:
Diffstat (limited to 'odb/mysql/exceptions.hxx')
-rw-r--r--odb/mysql/exceptions.hxx6
1 files changed, 6 insertions, 0 deletions
diff --git a/odb/mysql/exceptions.hxx b/odb/mysql/exceptions.hxx
index 824f678..ea4e493 100644
--- a/odb/mysql/exceptions.hxx
+++ b/odb/mysql/exceptions.hxx
@@ -49,6 +49,9 @@ namespace odb
virtual const char*
what () const throw ();
+ virtual database_exception*
+ clone () const;
+
private:
unsigned int error_;
std::string sqlstate_;
@@ -64,6 +67,9 @@ namespace odb
virtual const char*
what () const throw ();
+ virtual cli_exception*
+ clone () const;
+
private:
std::string what_;
};