summaryrefslogtreecommitdiff
path: root/cpp/src/IceDB/IceDB.h
diff options
context:
space:
mode:
Diffstat (limited to 'cpp/src/IceDB/IceDB.h')
-rw-r--r--cpp/src/IceDB/IceDB.h12
1 files changed, 9 insertions, 3 deletions
diff --git a/cpp/src/IceDB/IceDB.h b/cpp/src/IceDB/IceDB.h
index 2af10594176..560f96b0cee 100644
--- a/cpp/src/IceDB/IceDB.h
+++ b/cpp/src/IceDB/IceDB.h
@@ -53,7 +53,9 @@ class ICE_DB_API LMDBException : public IceUtil::Exception
public:
LMDBException(const char*, int, int);
- virtual ~LMDBException() ICE_NOEXCEPT;
+#ifndef ICE_CPP11_COMPILER
+ virtual ~LMDBException() throw();
+#endif
virtual std::string ice_id() const;
virtual void ice_print(std::ostream&) const;
@@ -79,7 +81,9 @@ class ICE_DB_API KeyTooLongException : public IceUtil::Exception
public:
KeyTooLongException(const char*, int, size_t);
- virtual ~KeyTooLongException() ICE_NOEXCEPT;
+#ifndef ICE_CPP11_COMPILER
+ virtual ~KeyTooLongException() throw();
+#endif
virtual std::string ice_id() const;
virtual void ice_print(std::ostream&) const;
@@ -103,7 +107,9 @@ class ICE_DB_API BadEnvException : public IceUtil::Exception
public:
BadEnvException(const char*, int, size_t);
- virtual ~BadEnvException() ICE_NOEXCEPT;
+#ifndef ICE_CPP11_COMPILER
+ virtual ~BadEnvException() throw();
+#endif
virtual std::string ice_id() const;
virtual void ice_print(std::ostream&) const;