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: I69bd31eba7b09cf49a3a2cdce94c978b1ce3fa4d
diff --git a/src/ethernet_interface.cpp b/src/ethernet_interface.cpp
index 2ca9c18..fc0550f 100644
--- a/src/ethernet_interface.cpp
+++ b/src/ethernet_interface.cpp
@@ -818,7 +818,7 @@
     {
         reply.read(name);
     }
-    catch (const sdbusplus::exception::SdBusError& e)
+    catch (const sdbusplus::exception::exception& e)
     {
         log<level::ERR>("Failed to get DNS information from Systemd-Resolved");
     }
diff --git a/src/network_manager.cpp b/src/network_manager.cpp
index 9ae9c5b..4ff8952 100644
--- a/src/network_manager.cpp
+++ b/src/network_manager.cpp
@@ -271,7 +271,7 @@
         method.append(unit);
         bus.call_noreply(method);
     }
-    catch (const sdbusplus::exception::SdBusError& ex)
+    catch (const sdbusplus::exception::exception& ex)
     {
         log<level::ERR>("Failed to reset failed unit",
                         entry("UNIT=%s", unit.c_str()),
@@ -286,7 +286,7 @@
         method.append(unit.c_str(), "replace");
         bus.call_noreply(method);
     }
-    catch (const sdbusplus::exception::SdBusError& ex)
+    catch (const sdbusplus::exception::exception& ex)
     {
         log<level::ERR>("Failed to restart service", entry("ERR=%s", ex.what()),
                         entry("UNIT=%s", unit.c_str()));
diff --git a/src/system_configuration.cpp b/src/system_configuration.cpp
index 4fbf601..6c30da2 100644
--- a/src/system_configuration.cpp
+++ b/src/system_configuration.cpp
@@ -96,7 +96,7 @@
         reply.read(name);
         return std::get<std::string>(name);
     }
-    catch (const sdbusplus::exception::SdBusError& ex)
+    catch (const sdbusplus::exception::exception& ex)
     {
         log<level::ERR>(
             "Failed to get the hostname from systemd-hostnamed service",