Replaced "no_such_parameter" exception with "std::out_of_range". Fixed argument of std::out_of_range.