aboutsummaryrefslogtreecommitdiff
path: root/odb/mssql/exceptions.hxx
diff options
context:
space:
mode:
Diffstat (limited to 'odb/mssql/exceptions.hxx')
-rw-r--r--odb/mssql/exceptions.hxx11
1 files changed, 6 insertions, 5 deletions
diff --git a/odb/mssql/exceptions.hxx b/odb/mssql/exceptions.hxx
index b53e08e..6b26037 100644
--- a/odb/mssql/exceptions.hxx
+++ b/odb/mssql/exceptions.hxx
@@ -11,6 +11,7 @@
#include <vector>
#include <odb/exceptions.hxx>
+#include <odb/details/config.hxx> // ODB_NOTHROW_NOEXCEPT
#include <odb/mssql/version.hxx>
#include <odb/mssql/forward.hxx>
@@ -77,13 +78,13 @@ namespace odb
}
virtual const char*
- what () const throw ();
+ what () const ODB_NOTHROW_NOEXCEPT;
virtual database_exception*
clone () const;
public:
- ~database_exception () throw ();
+ ~database_exception () ODB_NOTHROW_NOEXCEPT;
database_exception ();
database_exception (SQLINTEGER error,
@@ -103,10 +104,10 @@ namespace odb
struct LIBODB_MSSQL_EXPORT cli_exception: odb::exception
{
cli_exception (const std::string& what);
- ~cli_exception () throw ();
+ ~cli_exception () ODB_NOTHROW_NOEXCEPT;
virtual const char*
- what () const throw ();
+ what () const ODB_NOTHROW_NOEXCEPT;
virtual cli_exception*
clone () const;
@@ -118,7 +119,7 @@ namespace odb
struct LIBODB_MSSQL_EXPORT long_data_reload: odb::exception
{
virtual const char*
- what () const throw ();
+ what () const ODB_NOTHROW_NOEXCEPT;
virtual long_data_reload*
clone () const;