They were throwing warnings and shouldn't be used anyway. See, for example http://www.linuxprogrammingblog.com/cpp-exception-specifications-are-evil
@@ -54,7 +54,7 @@ QString ctkRuntimeException::getCause() const
}
//----------------------------------------------------------------------------
-void ctkRuntimeException::setCause(const QString& cause) throw(std::logic_error)
+void ctkRuntimeException::setCause(const QString& cause)
{
if (!this->cause.isEmpty()) throw std::logic_error("The cause for this ctkServiceException instance is already set");
@@ -44,7 +44,7 @@ public:
~ctkRuntimeException() throw() {}
QString getCause() const;
- void setCause(const QString& cause) throw(std::logic_error);
+ void setCause(const QString& cause);
const char* what() const throw();