aboutsummaryrefslogtreecommitdiff
path: root/odb/mysql/exceptions.hxx
diff options
context:
space:
mode:
authorBoris Kolpackov <boris@codesynthesis.com>2010-09-14 11:57:40 +0200
committerBoris Kolpackov <boris@codesynthesis.com>2010-09-14 11:57:40 +0200
commit4ac5ce29ecb1a8ce362e411becb9161888bd6eef (patch)
tree8007b3ff9158482e60253f3a8d85f0c149b30de0 /odb/mysql/exceptions.hxx
parent82aad8dee49a0c645ada631cc8aeb0266ba3ecc5 (diff)
Add argc/argv database ctor
Diffstat (limited to 'odb/mysql/exceptions.hxx')
-rw-r--r--odb/mysql/exceptions.hxx12
1 files changed, 12 insertions, 0 deletions
diff --git a/odb/mysql/exceptions.hxx b/odb/mysql/exceptions.hxx
index f9d3730..3902236 100644
--- a/odb/mysql/exceptions.hxx
+++ b/odb/mysql/exceptions.hxx
@@ -62,6 +62,18 @@ namespace odb
std::string message_;
std::string what_;
};
+
+ struct LIBODB_MYSQL_EXPORT cli_exception: odb::exception
+ {
+ cli_exception (const std::string& what);
+ ~cli_exception () throw ();
+
+ virtual const char*
+ what () const throw ();
+
+ private:;
+ std::string what_;
+ };
}
}