aboutsummaryrefslogtreecommitdiff
path: root/odb/pgsql/exceptions.hxx
diff options
context:
space:
mode:
Diffstat (limited to 'odb/pgsql/exceptions.hxx')
-rw-r--r--odb/pgsql/exceptions.hxx9
1 files changed, 5 insertions, 4 deletions
diff --git a/odb/pgsql/exceptions.hxx b/odb/pgsql/exceptions.hxx
index 0dbbda3..20e82af 100644
--- a/odb/pgsql/exceptions.hxx
+++ b/odb/pgsql/exceptions.hxx
@@ -10,6 +10,7 @@
#include <string>
#include <odb/exceptions.hxx>
+#include <odb/details/config.hxx> // ODB_NOTHROW_NOEXCEPT
#include <odb/pgsql/version.hxx>
#include <odb/pgsql/forward.hxx>
@@ -26,7 +27,7 @@ namespace odb
database_exception (const std::string& sqlstate,
const std::string& message);
- ~database_exception () throw ();
+ ~database_exception () ODB_NOTHROW_NOEXCEPT;
const std::string&
message () const
@@ -41,7 +42,7 @@ namespace odb
}
virtual const char*
- what () const throw ();
+ what () const ODB_NOTHROW_NOEXCEPT;
virtual database_exception*
clone () const;
@@ -55,10 +56,10 @@ namespace odb
struct LIBODB_PGSQL_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;