exception: switch to public sdbus exception
SdBusError was intended to be a private error type inside sdbusplus.
Switch all catch locations to use the general sdbusplus::exception type.
Signed-off-by: Patrick Williams <patrick@stwcx.xyz>
Change-Id: Ic8c3ff9b8b0fa64ef1d17ba305b9030284a1ee68
diff --git a/common/utils.hpp b/common/utils.hpp
index 101fd49..5bc99cd 100644
--- a/common/utils.hpp
+++ b/common/utils.hpp
@@ -190,7 +190,7 @@
*
* @return std::string - the dbus service name
*
- * @throw sdbusplus::exception::SdBusError when it fails
+ * @throw sdbusplus::exception::exception when it fails
*/
std::string getService(const char* path,
const char* interface) const override;
@@ -203,7 +203,7 @@
*
* @return The value of the property(type: variant)
*
- * @throw sdbusplus::exception::SdBusError when it fails
+ * @throw sdbusplus::exception::exception when it fails
*/
PropertyValue
getDbusPropertyVariant(const char* objPath, const char* dbusProp,
@@ -220,7 +220,7 @@
*
* @return The value of the property
*
- * @throw sdbusplus::exception::SdBusError when dbus request fails
+ * @throw sdbusplus::exception::exception when dbus request fails
* std::bad_variant_access when \p Property and property on dbus do
* not match
*/
@@ -239,7 +239,7 @@
* type for the D-Bus object
* @param[in] value - The value to be set
*
- * @throw sdbusplus::exception::SdBusError when it fails
+ * @throw sdbusplus::exception::exception when it fails
*/
void setDbusProperty(const DBusMapping& dBusMap,
const PropertyValue& value) const override;