Home
last modified time | relevance | path

Searched refs:SdBusError (Results 1 – 25 of 55) 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 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()
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()
/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.hpp147 throw exception::SdBusError( in op()
190 throw exception::SdBusError(-r, "sd_bus_message_read_basic string"); in op()
209 throw exception::SdBusError(-r, "sd_bus_message_read_basic bool"); in op()
228 throw exception::SdBusError( in op()
240 throw exception::SdBusError( in op()
247 throw exception::SdBusError( in op()
266 throw exception::SdBusError( in op()
278 throw exception::SdBusError( in op()
285 throw exception::SdBusError( in op()
316 throw exception::SdBusError(-r, in op()
[all …]
/openbmc/sdbusplus/test/message/
H A Dread.cpp201 EXPECT_THROW(new_message().read(ret), sdbusplus::exception::SdBusError); in TEST_F()
208 EXPECT_THROW(new_message().read(ret), sdbusplus::exception::SdBusError); in TEST_F()
215 EXPECT_THROW(new_message().read(ret), sdbusplus::exception::SdBusError); in TEST_F()
222 EXPECT_THROW(new_message().read(ret), sdbusplus::exception::SdBusError); in TEST_F()
254 EXPECT_THROW(new_message().read(ret), sdbusplus::exception::SdBusError); in TEST_F()
268 EXPECT_THROW(new_message().read(ret), sdbusplus::exception::SdBusError); in TEST_F()
285 EXPECT_THROW(new_message().read(ret), sdbusplus::exception::SdBusError); in TEST_F()
367 EXPECT_THROW(new_message().read(ret), sdbusplus::exception::SdBusError); in TEST_F()
380 EXPECT_THROW(new_message().read(ret), sdbusplus::exception::SdBusError); in TEST_F()
396 EXPECT_THROW(new_message().read(ret), sdbusplus::exception::SdBusError); in TEST_F()
[all …]
/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()
288 catch (const sdbusplus::exception::SdBusError& e) in callPIM()
319 catch (const sdbusplus::exception::SdBusError& l_ex) in isServiceRunning()
358 catch (const sdbusplus::exception::SdBusError& l_ex) in biosGetAttributeMethodCall()
474 catch (const sdbusplus::exception::SdBusError& l_ex) in EnableRebootGuard()
511 catch (const sdbusplus::exception::SdBusError& l_ex) in DisableRebootGuard()
/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()
111 throw exception::SdBusError(-rc, __PRETTY_FUNCTION__); in tag_invoke()
/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/openpower-vpd-parser/vpd-tool/include/
H A Dtool_utils.hpp66 catch (const sdbusplus::exception::SdBusError& l_ex) in readDbusProperty()
113 catch (const sdbusplus::exception::SdBusError& l_ex) in getPropertyMap()
218 catch (const sdbusplus::exception::SdBusError& l_error) in readKeywordFromHardware()
536 catch (const sdbusplus::exception::SdBusError& l_ex) in GetServiceInterfacesForObject()
578 catch (const sdbusplus::exception::SdBusError& l_ex)
896 catch (const sdbusplus::exception::SdBusError& l_ex) in isServiceRunning()
/openbmc/openpower-hw-diags/util/
H A Ddbus.cpp53 catch (const sdbusplus::exception::SdBusError& e) in find()
96 catch (const sdbusplus::exception::SdBusError& e) in findService()
132 catch (const sdbusplus::exception::SdBusError& e) in getProperty()
204 catch (const sdbusplus::exception::SdBusError& e) in transitionHost()
384 catch (const sdbusplus::exception::SdBusError& e) in createPel()
/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/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/google-misc/subprojects/nemora-postd/src/
H A Dnemora.cpp33 using sdbusplus::exception::SdBusError;
67 catch (const SdBusError& e) in GetMacAddr()
/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/phosphor-networkd/src/ibm/hypervisor-network-mgr-src/
H A Dhyp_network_manager.cpp10 using sdbusplus::exception::SdBusError;
210 catch (const SdBusError& e) in setBIOSTableAttrs()
/openbmc/telemetry/src/
H A Dtrigger_manager.cpp81 throw sdbusplus::exception::SdBusError( in verifyReportIds()
115 throw sdbusplus::exception::SdBusError( in verifyAddTrigger()

123