aboutsummaryrefslogtreecommitdiff
path: root/odb/oracle/exceptions.hxx
diff options
context:
space:
mode:
Diffstat (limited to 'odb/oracle/exceptions.hxx')
-rw-r--r--odb/oracle/exceptions.hxx13
1 files changed, 7 insertions, 6 deletions
diff --git a/odb/oracle/exceptions.hxx b/odb/oracle/exceptions.hxx
index 58f4efb..8258bae 100644
--- a/odb/oracle/exceptions.hxx
+++ b/odb/oracle/exceptions.hxx
@@ -11,6 +11,7 @@
#include <vector>
#include <odb/exceptions.hxx>
+#include <odb/details/config.hxx> // ODB_NOTHROW_NOEXCEPT
#include <odb/oracle/version.hxx>
#include <odb/oracle/forward.hxx>
@@ -68,13 +69,13 @@ namespace odb
}
public:
- ~database_exception () throw ();
+ ~database_exception () ODB_NOTHROW_NOEXCEPT;
database_exception ();
database_exception (sb4 error, const std::string& message);
virtual const char*
- what () const throw ();
+ what () const ODB_NOTHROW_NOEXCEPT;
virtual database_exception*
clone () const;
@@ -90,7 +91,7 @@ namespace odb
struct LIBODB_ORACLE_EXPORT lob_comparison: odb::exception
{
virtual const char*
- what () const throw ();
+ what () const ODB_NOTHROW_NOEXCEPT;
virtual lob_comparison*
clone () const;
@@ -99,10 +100,10 @@ namespace odb
struct LIBODB_ORACLE_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;
@@ -114,7 +115,7 @@ namespace odb
struct LIBODB_ORACLE_EXPORT invalid_oci_handle: odb::exception
{
virtual const char*
- what () const throw ();
+ what () const ODB_NOTHROW_NOEXCEPT;
virtual invalid_oci_handle*
clone () const;