Home
last modified time | relevance | path

Searched refs:SdBusError (Results 1 – 25 of 57) sorted by relevance

123

/openbmc/sdbusplus/src/
H A Dexception.cpp33 SdBusError::SdBusError(int error_in, const char* prefix, in SdBusError() function in sdbusplus::exception::SdBusError
35 SdBusError(error_in, std::string(prefix), intf_in) in SdBusError()
38 SdBusError::SdBusError(int error_in, std::string&& prefix, in SdBusError() function in sdbusplus::exception::SdBusError
55 SdBusError::SdBusError(sd_bus_error* error_in, const char* prefix, in SdBusError() function in sdbusplus::exception::SdBusError
65 SdBusError::SdBusError(SdBusError&& other) : error(SD_BUS_ERROR_NULL) in SdBusError() function in sdbusplus::exception::SdBusError
70 SdBusError& SdBusError::operator=(SdBusError&& other) in operator =()
79 SdBusError::~SdBusError() in ~SdBusError()
84 const char* SdBusError::name() const noexcept in name()
89 const char* SdBusError::description() const noexcept in description()
94 const char* SdBusError::what() const noexcept in what()
[all …]
H A Dbus.cpp30 throw exception::SdBusError(-rc, __PRETTY_FUNCTION__); in new_default()
42 throw exception::SdBusError(-rc, __PRETTY_FUNCTION__); in new_default_user()
54 throw exception::SdBusError(-rc, __PRETTY_FUNCTION__); in new_default_system()
66 throw exception::SdBusError(-rc, __PRETTY_FUNCTION__); in new_bus()
80 throw exception::SdBusError(-rc, __PRETTY_FUNCTION__); in new_user()
94 throw exception::SdBusError(-rc, __PRETTY_FUNCTION__); in new_system()
149 throw exception::SdBusError(-r, "sd_notify WATCHDOG=1"); in watchdog_pet()
158 throw exception::SdBusError(-r, "sd_notify WATCHDOG=trigger"); in watchdog_trigger()
168 throw exception::SdBusError(-r, "sd_watchdog_enabled"); in watchdog_enabled()
H A Devent.cpp71 throw exception::SdBusError(errno, __func__); in signal()
81 throw exception::SdBusError(errno, __func__); in ack()
89 throw exception::SdBusError(-rc, __func__); in event()
101 throw exception::SdBusError(-rc, __func__); in run_one()
120 throw exception::SdBusError(-rc, __func__); in add_io()
134 throw exception::SdBusError(errno, __func__); in add_condition()
162 throw exception::SdBusError(-rc, __func__); in add_oneshot_timer()
/openbmc/sdbusplus/test/exception/
H A Dsdbus_error.cpp24 using sdbusplus::exception::SdBusError;
28 TEST(SdBusError, BasicErrno) in TEST() argument
39 SdBusError err(errorVal, prefix.c_str()); in TEST()
43 SdBusError& errNew = err; in TEST()
53 TEST(SdBusError, EnomemErrno) in TEST() argument
56 SdBusError err(ENOMEM, "EnomemErrno"); in TEST()
59 TEST(SdBusError, NotSetErrno) in TEST() argument
68 EXPECT_THROW(SdBusError(errorVal, "NotSetErrno", &sdbus), in TEST()
72 TEST(SdBusError, Move) in TEST() argument
85 SdBusError errFinal(EBUSY, "Move2"); in TEST()
[all …]
/openbmc/sdbusplus/include/sdbusplus/
H A Dexception.hpp100 class SdBusError final : public internal_exception class
104 SdBusError(int error, const char* prefix,
106 SdBusError(int error, std::string&& prefix,
109 SdBusError(sd_bus_error* error, const char* prefix,
112 SdBusError(const SdBusError&) = delete;
113 SdBusError& operator=(const SdBusError&) = delete;
114 SdBusError(SdBusError&& other);
115 SdBusError& operator=(SdBusError&& other);
116 ~SdBusError() override;
134 void move(SdBusError&& other);
H A Dbus.hpp181 throw exception::SdBusError(-r, "sd_bus_flush"); in flush()
197 throw exception::SdBusError(-r, "sd_bus_is_open"); in is_open()
211 throw exception::SdBusError(-r, "sd_bus_wait"); in wait()
233 throw exception::SdBusError(-r, "sd_bus_process"); in process()
251 throw exception::SdBusError(-r, "sd_bus_process discard"); in process_discard()
279 throw exception::SdBusError(-r, "sd_bus_request_name"); in request_name()
300 throw exception::SdBusError(-r, "sd_bus_message_new_method_call"); in new_method_call()
321 throw exception::SdBusError(-r, "sd_bus_message_new_signal"); in new_signal()
346 throw exception::SdBusError(&error, "sd_bus_call"); in call()
368 throw exception::SdBusError(&error, "sd_bus_call noreply"); in call_noreply()
[all …]
H A Dmessage.hpp289 throw exception::SdBusError(-r, "sd_bus_message_get_type"); in get_type()
304 throw exception::SdBusError(-r, "sd_bus_message_get_cookie"); in get_cookie()
319 throw exception::SdBusError(-r, "sd_bus_message_get_reply_cookie"); in get_reply_cookie()
357 throw exception::SdBusError(-r, "sd_bus_message_new_method_return"); in new_method_return()
378 throw exception::SdBusError(-r, "sd_bus_message_new_method_error"); in new_method_error()
397 throw exception::SdBusError(-r, "sd_bus_message_new_method_errno"); in new_method_errno()
410 throw exception::SdBusError(-r, "sd_bus_send"); in method_return()
438 throw exception::SdBusError(&error, "sd_bus_call"); in call()
463 throw exception::SdBusError(-r, "sd_bus_call_async"); in call_async()
483 throw exception::SdBusError(-r, in call_async()
/openbmc/sdbusplus/include/sdbusplus/message/
H A Dread.hpp87 throw exception::SdBusError( in op()
129 throw exception::SdBusError(-r, "sd_bus_message_read_basic string"); in op()
147 throw exception::SdBusError(-r, "sd_bus_message_read_basic bool"); in op()
170 throw exception::SdBusError( in op()
182 throw exception::SdBusError( in op()
189 throw exception::SdBusError( in op()
217 throw exception::SdBusError(-r, "sd_bus_message_read_array"); in op()
236 throw exception::SdBusError( in op()
248 throw exception::SdBusError( in op()
255 throw exception::SdBusError( in op()
[all …]
/openbmc/sdbusplus/test/message/
H A Dread.cpp223 EXPECT_THROW(new_message().read(ret), sdbusplus::exception::SdBusError); in TEST_F()
230 EXPECT_THROW(new_message().read(ret), sdbusplus::exception::SdBusError); in TEST_F()
237 EXPECT_THROW(new_message().read(ret), sdbusplus::exception::SdBusError); in TEST_F()
244 EXPECT_THROW(new_message().read(ret), sdbusplus::exception::SdBusError); in TEST_F()
326 EXPECT_THROW(new_message().read(ret), sdbusplus::exception::SdBusError); in TEST_F()
340 EXPECT_THROW(new_message().read(ret), sdbusplus::exception::SdBusError); in TEST_F()
357 EXPECT_THROW(new_message().read(ret), sdbusplus::exception::SdBusError); in TEST_F()
439 EXPECT_THROW(new_message().read(ret), sdbusplus::exception::SdBusError); in TEST_F()
452 EXPECT_THROW(new_message().read(ret), sdbusplus::exception::SdBusError); in TEST_F()
468 EXPECT_THROW(new_message().read(ret), sdbusplus::exception::SdBusError); in TEST_F()
[all …]
/openbmc/telemetry/src/utils/
H A Ddbus_path_utils.cpp10 throw sdbusplus::exception::SdBusError( in pathAppend()
21 throw sdbusplus::exception::SdBusError( in pathAppend()
41 throw sdbusplus::exception::SdBusError( in reportPathToId()
H A Dmake_id_name.cpp38 throw sdbusplus::exception::SdBusError( in generateId()
73 throw sdbusplus::exception::SdBusError( in generateId()
/openbmc/sdbusplus/include/sdbusplus/async/
H A Dcallback.hpp80 throw exception::SdBusError(e, "callback"); in handler()
89 throw exception::SdBusError(&err, "method"); in handler()
110 throw exception::SdBusError(-rc, __PRETTY_FUNCTION__); in start()
/openbmc/openpower-vpd-parser/vpd-manager/include/utility/
H A Ddbus_utility.hpp57 catch (const sdbusplus::exception::SdBusError& e) in getObjectMap()
103 catch (const sdbusplus::exception::SdBusError& l_ex) in getPropertyMap()
153 catch (const sdbusplus::exception::SdBusError& l_ex) in getObjectSubTree()
204 catch (const sdbusplus::exception::SdBusError& e) in readDbusProperty()
287 catch (const sdbusplus::exception::SdBusError& e) in callPIM()
318 catch (const sdbusplus::exception::SdBusError& l_ex) in isServiceRunning()
357 catch (const sdbusplus::exception::SdBusError& l_ex) in biosGetAttributeMethodCall()
473 catch (const sdbusplus::exception::SdBusError& l_ex) in EnableRebootGuard()
510 catch (const sdbusplus::exception::SdBusError& l_ex) in DisableRebootGuard()
749 catch (const sdbusplus::exception::SdBusError& l_ex)
/openbmc/openpower-hw-diags/attn/
H A Dattn_dbus.cpp43 catch (const sdbusplus::exception::SdBusError& e) in dbusMethod()
92 catch (const sdbusplus::exception::SdBusError& e) in createPelRaw()
131 catch (const sdbusplus::exception::SdBusError& e) in getPel()
H A Dbp_handler.cpp34 catch (const sdbusplus::exception::SdBusError& e) in bpHandler()
/openbmc/phosphor-debug-collector/dump-extensions/openpower-dumps/
H A Dop_dump_util.cpp48 catch (const sdbusplus::exception::SdBusError& e) in isOPDumpsEnabled()
71 catch (const sdbusplus::exception::SdBusError& e) in readBIOSAttribute()
/openbmc/pldm/oem/ibm/host-bmc/
H A Dhost_lamp_test.cpp54 throw sdbusplus::exception::SdBusError( in asserted()
66 throw sdbusplus::exception::SdBusError( in asserted()
/openbmc/openpower-vpd-parser/vpd-tool/include/
H A Dtool_utils.hpp67 catch (const sdbusplus::exception::SdBusError& l_ex) in readDbusProperty()
114 catch (const sdbusplus::exception::SdBusError& l_ex) in getPropertyMap()
219 catch (const sdbusplus::exception::SdBusError& l_error) in readKeywordFromHardware()
537 catch (const sdbusplus::exception::SdBusError& l_ex) in GetServiceInterfacesForObject()
579 catch (const sdbusplus::exception::SdBusError& l_ex)
897 catch (const sdbusplus::exception::SdBusError& l_ex) in isServiceRunning()
937 catch (const sdbusplus::exception::SdBusError& l_ex) in biosGetAttributeMethodCall()
/openbmc/google-misc/subprojects/nemora-postd/src/
H A Dnemora.cpp33 using sdbusplus::exception::SdBusError;
67 catch (const SdBusError& e) in GetMacAddr()
/openbmc/phosphor-networkd/src/ibm/hypervisor-network-mgr-src/
H A Dhyp_network_manager.cpp10 using sdbusplus::exception::SdBusError;
111 catch (const sdbusplus::exception::SdBusError& e) in setBIOSTableAttrs()
208 catch (const SdBusError& e) in setBIOSTableAttrs()
/openbmc/openpower-hw-diags/util/
H A Ddbus.cpp52 catch (const sdbusplus::exception::SdBusError& e) in find()
95 catch (const sdbusplus::exception::SdBusError& e) in findService()
131 catch (const sdbusplus::exception::SdBusError& e) in getProperty()
203 catch (const sdbusplus::exception::SdBusError& e) in transitionHost()
383 catch (const sdbusplus::exception::SdBusError& e) in createPel()
/openbmc/google-ipmi-sys/
H A Dhandler.cpp262 catch (const sdbusplus::exception::SdBusError& ex) in psuResetDelay()
407 catch (const sdbusplus::exception::SdBusError& ex) in hostPowerOffDelay()
495 catch (const sdbusplus::exception::SdBusError& ex) in accelOobDeviceCount()
518 catch (const sdbusplus::exception::SdBusError& ex) in accelOobDeviceName()
562 catch (const sdbusplus::exception::SdBusError& ex) in accelOobRead()
652 catch (const sdbusplus::exception::SdBusError& ex) in accelOobWrite()
697 catch (const sdbusplus::exception::SdBusError& ex) in linuxBootDone()
/openbmc/intel-ipmi-oem/src/
H A Dbmccontrolservices.cpp85 throw sdbusplus::exception::SdBusError(-EIO, msgToLog.c_str()); in checkAndThrowError()
101 throw sdbusplus::exception::SdBusError( in getEnabledValue()
/openbmc/telemetry/tests/src/
H A Dtest_make_id_name.cpp161 sdbusplus::exception::SdBusError); in TYPED_TEST()
163 sdbusplus::exception::SdBusError); in TYPED_TEST()
/openbmc/sdbusplus/src/bus/
H A Dmatch.cpp17 throw exception::SdBusError(-r, "sd_bus_match"); in makeMatch()

123