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: I411acc5238da0ad3d14a963c0d1a3bb4791f23ff
diff --git a/utils.hpp b/utils.hpp
index 8499b2a..d663b2f 100644
--- a/utils.hpp
+++ b/utils.hpp
@@ -62,7 +62,7 @@
*
* @return The Map to constructs all properties values
*
- * @throw sdbusplus::exception::SdBusError when it fails
+ * @throw sdbusplus::exception::exception when it fails
*/
const PropertyMap getAllProperties(const std::string& objectPath,
const std::string& interface) const;
@@ -75,7 +75,7 @@
*
* @return The value of the property(type: variant)
*
- * @throw sdbusplus::exception::SdBusError when it fails
+ * @throw sdbusplus::exception::exception when it fails
*/
const PropertyValue getProperty(const std::string& objectPath,
const std::string& interface,
@@ -88,7 +88,7 @@
* @param[in] propertyName - D-Bus property name
* @param[in] value - The value to be set
*
- * @throw sdbusplus::exception::SdBusError when it fails
+ * @throw sdbusplus::exception::exception when it fails
*/
void setProperty(const std::string& objectPath,
const std::string& interface,