@@ -35,7 +35,7 @@ class ScriptError : virtual public user_error
3535 ScriptError (String message);
3636 ScriptError (String message, DebugInfo di, bool incompleteExpr = false );
3737
38- const char * what (void ) const throw() final ;
38+ const char * what () const noexcept override final ;
3939
4040 DebugInfo GetDebugInfo () const ;
4141 bool IsIncompleteExpression () const ;
@@ -59,7 +59,7 @@ class ValidationError : virtual public user_error
5959 ValidationError (const ConfigObject::Ptr& object, const std::vector<String>& attributePath, const String& message);
6060 ~ValidationError () throw () override ;
6161
62- const char *what () const throw() override ;
62+ const char *what () const noexcept override ;
6363
6464 ConfigObject::Ptr GetObject () const ;
6565 std::vector<String> GetAttributePath () const ;
@@ -118,7 +118,7 @@ String DiagnosticInformation(const boost::exception_ptr& eptr, bool verbose = tr
118118
119119class posix_error : virtual public std::exception, virtual public boost::exception {
120120public:
121- const char * what () const noexcept final ;
121+ const char * what () const noexcept override final ;
122122
123123private:
124124 mutable String m_Message;
@@ -153,7 +153,7 @@ class invalid_downtime_removal_error : virtual public std::exception, virtual pu
153153
154154 ~invalid_downtime_removal_error () noexcept override ;
155155
156- const char * what () const noexcept final ;
156+ const char * what () const noexcept override final ;
157157
158158private:
159159 String m_Message;
0 commit comments