: type_(type), title_(title), details_(details),
message_(to_utf8(title_ + docstring::value_type('\n') + details_)) {}
- virtual const char * what() const throw() { return message_.c_str(); }
- virtual ~ExceptionMessage() throw() {}
+ const char * what() const noexcept override { return message_.c_str(); }
+ virtual ~ExceptionMessage() noexcept {}
ExceptionType type_;
docstring title_;