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/sdbusplus.hpp b/src/sdbusplus.hpp
index 02c530d..f7049ac 100644
--- a/src/sdbusplus.hpp
+++ b/src/sdbusplus.hpp
@@ -19,7 +19,6 @@
 {
 
 using namespace phosphor::logging;
-using sdbusplus::exception::SdBusError;
 
 /** @class SDBusPlus
  *  @brief DBus access delegate implementation for sdbusplus.
@@ -83,7 +82,7 @@
         {
             respMsg.read(resp);
         }
-        catch (const SdBusError& e)
+        catch (const sdbusplus::exception::exception& e)
         {
             // Empty responses are expected sometimes, and the calling
             // code is set up to handle it.
@@ -117,7 +116,7 @@
                 name = object.begin()->first;
             }
         }
-        catch (const SdBusError& e)
+        catch (const sdbusplus::exception::exception& e)
         {
             // Empty responses are expected sometimes, and the calling
             // code is set up to handle it.