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: If98df395e3717aa119e192457220e31ce3ea4fe7
diff --git a/src/propertywatchimpl.hpp b/src/propertywatchimpl.hpp
index 60aff5c..ef50494 100644
--- a/src/propertywatchimpl.hpp
+++ b/src/propertywatchimpl.hpp
@@ -57,7 +57,7 @@
MAPPER_BUSNAME, MAPPER_PATH, MAPPER_INTERFACE, "GetObject",
path, queryInterfaces);
}
- catch (const sdbusplus::exception::SdBusError&)
+ catch (const sdbusplus::exception::exception&)
{
// Paths in the configuration may not exist yet. Prime those
// later, when/if InterfacesAdded occurs.
@@ -104,7 +104,7 @@
{
updateProperties(busName, path, interface);
}
- catch (const sdbusplus::exception::SdBusError&)
+ catch (const sdbusplus::exception::exception&)
{
// If for some reason the path has gone away since
// the mapper lookup we'll simply try again if/when