{
}
-INTERP_KERNEL::Exception::~Exception() throw ()
+INTERP_KERNEL::Exception::~Exception() noexcept(true)
{
}
-const char *INTERP_KERNEL::Exception::what() const throw()
+const char *INTERP_KERNEL::Exception::what() const noexcept(true)
{
return _reason.c_str();
}
INTERPKERNEL_EXPORT Exception(const char *reason);
INTERPKERNEL_EXPORT Exception(const std::string& reason);
INTERPKERNEL_EXPORT Exception(const char *reason, const char *file, int line);
- INTERPKERNEL_EXPORT ~Exception() throw ();
- INTERPKERNEL_EXPORT const char *what() const throw();
+ INTERPKERNEL_EXPORT ~Exception() noexcept(true);
+ INTERPKERNEL_EXPORT const char *what() const noexcept(true);
protected:
std::string _reason;
};
}
template<class T, class U>
- typename MEDCoupling::MCAuto<U> DynamicCast(typename MEDCoupling::MCAuto<T>& autoSubPtr) throw()
+ typename MEDCoupling::MCAuto<U> DynamicCast(typename MEDCoupling::MCAuto<T>& autoSubPtr) noexcept(true)
{
T *subPtr(autoSubPtr);
U *ptr(dynamic_cast<U *>(subPtr));