Lines Matching refs:what_arg
214 system_error::__init(const error_code& ec, string what_arg)
218 if (!what_arg.empty())
219 what_arg += ": ";
220 what_arg += ec.message();
222 return what_arg;
225 system_error::system_error(error_code ec, const string& what_arg)
226 : runtime_error(__init(ec, what_arg)),
231 system_error::system_error(error_code ec, const char* what_arg)
232 : runtime_error(__init(ec, what_arg)),
243 system_error::system_error(int ev, const error_category& ecat, const string& what_arg)
244 : runtime_error(__init(error_code(ev, ecat), what_arg)),
249 system_error::system_error(int ev, const error_category& ecat, const char* what_arg)
250 : runtime_error(__init(error_code(ev, ecat), what_arg)),
266 __throw_system_error(int ev, const char* what_arg)
269 throw system_error(error_code(ev, system_category()), what_arg);
272 (void)what_arg;