Remove deprecated throw specifier