-// Copyright (C) 2010-2020 CEA/DEN, EDF R&D
+// Copyright (C) 2010-2024 CEA, EDF
//
// This library is free software; you can redistribute it and/or
// modify it under the terms of the GNU Lesser General Public
{
public:
Exception(const std::string & what) : _what(what) {}
- const char* what() const throw() { return _what.c_str(); }
+ const char* what() const noexcept { return _what.c_str(); }
- ~Exception() throw () {}
+ ~Exception() noexcept {}
private:
const std::string _what;
};