diff options
author | Boris Kolpackov <boris@codesynthesis.com> | 2010-09-14 11:57:40 +0200 |
---|---|---|
committer | Boris Kolpackov <boris@codesynthesis.com> | 2010-09-14 11:57:40 +0200 |
commit | 4ac5ce29ecb1a8ce362e411becb9161888bd6eef (patch) | |
tree | 8007b3ff9158482e60253f3a8d85f0c149b30de0 /odb/mysql/exceptions.hxx | |
parent | 82aad8dee49a0c645ada631cc8aeb0266ba3ecc5 (diff) |
Add argc/argv database ctor
Diffstat (limited to 'odb/mysql/exceptions.hxx')
-rw-r--r-- | odb/mysql/exceptions.hxx | 12 |
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_; + }; } } |