/freebsd-12-stable/contrib/libstdc++/src/ |
H A D | stdexcept.cc | 60 runtime_error::runtime_error(const string& __arg) function in class:runtime_error 63 runtime_error::~runtime_error() throw() { } 66 runtime_error::what() const throw() 70 : runtime_error(__arg) { } 73 : runtime_error(__arg) { } 76 : runtime_error(__arg) { }
|
H A D | functexcept.cc | 84 { throw runtime_error(_(__s)); }
|
/freebsd-12-stable/contrib/libstdc++/include/std/ |
H A D | std_stdexcept.h | 107 class runtime_error : public exception class in inherits:exception 114 runtime_error(const string& __arg); 117 ~runtime_error() throw(); 126 class range_error : public runtime_error 133 class overflow_error : public runtime_error 140 class underflow_error : public runtime_error
|
/freebsd-12-stable/contrib/atf/atf-c++/detail/ |
H A D | exceptions.hpp | 38 class system_error : public std::runtime_error {
|
H A D | text_test.cpp | 141 ATF_REQUIRE_THROW(std::runtime_error, match("", "[")); 302 ATF_REQUIRE_THROW(std::runtime_error, to_bool("")); 303 ATF_REQUIRE_THROW(std::runtime_error, to_bool("tru")); 304 ATF_REQUIRE_THROW(std::runtime_error, to_bool("true2")); 305 ATF_REQUIRE_THROW(std::runtime_error, to_bool("fals")); 306 ATF_REQUIRE_THROW(std::runtime_error, to_bool("false2")); 325 ATF_REQUIRE_THROW_RE(std::runtime_error, "Empty", to_bytes("")); 326 ATF_REQUIRE_THROW_RE(std::runtime_error, "Unknown size unit 'd'", 328 ATF_REQUIRE_THROW(std::runtime_error, to_bytes(" ")); 329 ATF_REQUIRE_THROW(std::runtime_error, to_byte [all...] |
H A D | exceptions.cpp | 50 std::runtime_error(who + ": " + message), 75 m_message = std::string(std::runtime_error::what()) + ": "; 120 throw std::runtime_error(buf);
|
H A D | application.hpp | 41 class usage_error : public std::runtime_error {
|
H A D | text.cpp | 65 throw std::runtime_error("Invalid regular expression '" + regex + 71 throw std::runtime_error("Invalid regular expression " + regex); 137 throw std::runtime_error("Empty value"); 148 throw std::runtime_error(std::string("Unknown size unit '") + unit
|
H A D | text.hpp | 142 throw std::runtime_error("Cannot convert string to requested type");
|
H A D | application.cpp | 63 std::runtime_error("usage_error; message unformatted") 237 } catch (const std::runtime_error& e) {
|
H A D | exceptions_test.cpp | 127 } catch (const std::runtime_error& e) {
|
H A D | fs.cpp | 471 throw std::runtime_error("PATH not defined in the environment");
|
/freebsd-12-stable/contrib/googletest/googletest/test/ |
H A D | googletest-catch-exceptions-test_.cc | 109 throw std::runtime_error("Standard C++ exception")); 153 throw std::runtime_error("Standard C++ exception")); 169 throw std::runtime_error("Standard C++ exception"); 207 throw std::runtime_error("Standard C++ exception"); 228 virtual void SetUp() { throw std::runtime_error("Standard C++ exception"); } 258 throw std::runtime_error("Standard C++ exception"); 287 throw std::runtime_error("Standard C++ exception");
|
H A D | gtest_throw_on_failure_ex_test.cc | 51 // std::runtime_error. 62 // A failed assertion should throw a subclass of std::runtime_error. 65 } catch(const std::runtime_error& e) {
|
/freebsd-12-stable/contrib/atf/atf-c++/ |
H A D | macros_hpp_test.cpp | 68 // Check that we can pass std::runtime_error to ATF_REQUIRE_THROW. 72 ATF_REQUIRE_THROW(std::runtime_error, (void)0); 82 ATF_REQUIRE_THROW(std::runtime_error, (void)0); 84 ATF_REQUIRE_THROW(std::runtime_error, (void)1);
|
H A D | macros_test.cpp | 190 ATF_REQUIRE_THROW(std::runtime_error, if (1) throw int(5)); 192 ATF_REQUIRE_THROW(std::runtime_error, 193 if (1) throw std::runtime_error("e")); 195 ATF_REQUIRE_THROW(std::runtime_error, 196 if (0) throw std::runtime_error("e")); 211 ATF_REQUIRE_THROW_RE(std::runtime_error, "5", if (1) throw int(5)); 213 ATF_REQUIRE_THROW_RE(std::runtime_error, "foo.*baz", 214 if (1) throw std::runtime_error("a foo bar baz")); 216 ATF_REQUIRE_THROW_RE(std::runtime_error, "foo.*baz", 217 if (1) throw std::runtime_error("ba [all...] |
H A D | tests.cpp | 416 throw std::runtime_error("-v requires a non-empty argument"); 423 throw std::runtime_error("-v requires an argument of the form "
|
/freebsd-12-stable/contrib/llvm-project/libcxx/src/ |
H A D | system_error.cpp | 244 : runtime_error(__init(ec, what_arg)), 250 : runtime_error(__init(ec, what_arg)), 256 : runtime_error(__init(ec, "")), 262 : runtime_error(__init(error_code(ev, ecat), what_arg)), 268 : runtime_error(__init(error_code(ev, ecat), what_arg)), 274 : runtime_error(__init(error_code(ev, ecat), "")),
|
H A D | regex.cpp | 65 : runtime_error(make_error_type_string(ecode)),
|
/freebsd-12-stable/contrib/libstdc++/include/ext/ |
H A D | debug_allocator.h | 116 throw std::runtime_error("debug_allocator::deallocate" 122 throw std::runtime_error("debug_allocator::deallocate null pointer");
|
/freebsd-12-stable/contrib/atf/atf-sh/ |
H A D | atf-check.cpp | 171 throw std::runtime_error("Unused reason"); 173 } catch (const std::runtime_error&) { 219 } catch (std::runtime_error) { 365 throw std::runtime_error("Failed to open " + path.str()); 381 throw std::runtime_error("Failed to open " + path.str()); 412 throw std::runtime_error("Failed to open " + p1.str()); 416 throw std::runtime_error("Failed to open " + p1.str()); 423 throw std::runtime_error("Failed to read from " + p1.str()); 427 throw std::runtime_error("Failed to read from " + p1.str());
|
H A D | atf-sh.cpp | 167 throw std::runtime_error("The test program '" + script.str() + "' "
|
/freebsd-12-stable/contrib/atf/test-programs/ |
H A D | cpp_helpers.cpp | 307 throw std::runtime_error("This is unhandled");
|
/freebsd-12-stable/contrib/googletest/googlemock/test/ |
H A D | gmock-nice-strict_test.cc | 244 } catch (const std::runtime_error& ex) {
|
/freebsd-12-stable/contrib/googletest/googletest/include/gtest/internal/ |
H A D | gtest-internal.h | 149 // are enabled). We derive it from std::runtime_error, which is for 151 // std::runtime_error inherits from std::exception, many testing 153 class GTEST_API_ GoogleTestFailureException : public ::std::runtime_error {
|