Use the noexcept specifier (C++11) instead of deprecated throw()