catch exceptions as const

Signed-off-by: Patrick Williams <patrick@stwcx.xyz>
Change-Id: I6a2316d11f1dd70d8dc2368c2aa01d88cf1cdb26
diff --git a/libpldmresponder/bios.cpp b/libpldmresponder/bios.cpp
index 74000b8..07e6d40 100644
--- a/libpldmresponder/bios.cpp
+++ b/libpldmresponder/bios.cpp
@@ -183,7 +183,7 @@
                                 "uint64_t"};
         pldm::utils::DBusHandler().setDbusProperty(dbusMapping, value);
     }
-    catch (std::exception& e)
+    catch (const std::exception& e)
     {
 
         std::cerr << "Error Setting time,PATH=" << setTimePath
diff --git a/libpldmresponder/bios_config.cpp b/libpldmresponder/bios_config.cpp
index 57e2dc9..e955f26 100644
--- a/libpldmresponder/bios_config.cpp
+++ b/libpldmresponder/bios_config.cpp
@@ -799,7 +799,7 @@
     {
         attrNameHdl = biosStringTable.findHandle(attrName);
     }
-    catch (std::invalid_argument& e)
+    catch (const std::invalid_argument& e)
     {
         std::cerr << "Could not find handle for BIOS string, ATTRIBUTE="
                   << attrName.c_str() << "\n";
diff --git a/libpldmresponder/bios_table.cpp b/libpldmresponder/bios_table.cpp
index a618f52..0524614 100644
--- a/libpldmresponder/bios_table.cpp
+++ b/libpldmresponder/bios_table.cpp
@@ -23,7 +23,7 @@
     {
         empty = fs::is_empty(filePath);
     }
-    catch (fs::filesystem_error& e)
+    catch (const fs::filesystem_error& e)
     {
         return true;
     }