Lines Matching refs:std

33         std::exception_ptr eptr;  in TEST()
34 std::vector<std::exception_ptr> exceptions = in TEST()
42 std::exception_ptr eptr; in TEST()
47 throw std::logic_error{"JSON element is not an array"}; in TEST()
51 std::throw_with_nested( in TEST()
52 std::runtime_error{"Unable to parse config file"}); in TEST()
57 eptr = std::current_exception(); in TEST()
61 std::vector<std::exception_ptr> exceptions = in TEST()
68 std::rethrow_exception(exceptions[0]); in TEST()
71 catch (const std::logic_error& e) in TEST()
83 std::rethrow_exception(exceptions[1]); in TEST()
86 catch (const std::runtime_error& e) in TEST()
103 throw std::invalid_argument{"JSON element is not an array"}; in TEST()
107 std::throw_with_nested( in TEST()
108 std::logic_error{"Unable to parse config file"}); in TEST()
111 catch (const std::exception& e) in TEST()
113 std::vector<std::string> messages = exception_utils::getMessages(e); in TEST()
124 std::exception_ptr eptr; in TEST()
125 std::vector<std::exception_ptr> exceptions; in TEST()
133 std::exception_ptr eptr; in TEST()
136 throw std::logic_error{"JSON element is not an array"}; in TEST()
140 eptr = std::current_exception(); in TEST()
144 std::vector<std::exception_ptr> exceptions; in TEST()
151 std::rethrow_exception(exceptions[0]); in TEST()
154 catch (const std::logic_error& e) in TEST()
167 std::exception_ptr eptr; in TEST()
174 throw std::string{"Invalid JSON element"}; in TEST()
178 std::throw_with_nested( in TEST()
179 std::logic_error{"JSON element is not an array"}); in TEST()
184 std::throw_with_nested( in TEST()
185 std::runtime_error{"Unable to parse config file"}); in TEST()
190 eptr = std::current_exception(); in TEST()
194 std::vector<std::exception_ptr> exceptions; in TEST()
201 std::rethrow_exception(exceptions[0]); in TEST()
204 catch (const std::string& s) in TEST()
216 std::rethrow_exception(exceptions[1]); in TEST()
219 catch (const std::logic_error& e) in TEST()
231 std::rethrow_exception(exceptions[2]); in TEST()
234 catch (const std::runtime_error& e) in TEST()
249 std::invalid_argument e{"JSON element is not an array"}; in TEST()
250 std::vector<std::string> messages{}; in TEST()
263 throw std::invalid_argument{"JSON element is not an array"}; in TEST()
267 std::throw_with_nested( in TEST()
268 std::logic_error{"Unable to parse config file"}); in TEST()
273 std::throw_with_nested( in TEST()
274 std::runtime_error{"Unable to configure regulators"}); in TEST()
277 catch (const std::exception& e) in TEST()
279 std::vector<std::string> messages{}; in TEST()
298 std::throw_with_nested( in TEST()
299 std::logic_error{"Unable to parse config file"}); in TEST()
304 std::throw_with_nested( in TEST()
305 std::runtime_error{"Unable to configure regulators"}); in TEST()
308 catch (const std::exception& e) in TEST()
310 std::vector<std::string> messages{}; in TEST()