Home
last modified time | relevance | path

Searched refs:l_ex (Results 1 – 15 of 15) sorted by relevance

/openbmc/openpower-vpd-parser/vpd-manager/include/utility/
H A Djson_utility.hpp120 catch (const std::exception& l_ex) in getParsedJson() local
123 "Failed to parse JSON file, error: " + std::string(l_ex.what())); in getParsedJson()
185 catch (const std::exception& l_ex) in getInventoryObjPathFromJson() local
189 std::string(l_ex.what())); in getInventoryObjPathFromJson()
245 catch (const std::exception& l_ex) in executePostFailAction() local
248 std::string(l_ex.what())); in executePostFailAction()
299 catch (const std::exception& l_ex) in processSystemCmdTag() local
302 EventLogger::getErrorType(l_ex), types::SeverityType::Informational, in processSystemCmdTag()
303 __FILE__, __FUNCTION__, 0, EventLogger::getErrorMsg(l_ex), in processSystemCmdTag()
371 catch (const std::exception& l_ex) in processGpioPresenceTag() local
[all …]
H A Ddbus_utility.hpp103 catch (const sdbusplus::exception::SdBusError& l_ex) in getPropertyMap() local
105 logging::logMessage(l_ex.what()); in getPropertyMap()
153 catch (const sdbusplus::exception::SdBusError& l_ex) in getObjectSubTree() local
155 logging::logMessage(l_ex.what()); in getObjectSubTree()
248 catch (const std::exception& l_ex) in writeDbusProperty() local
251 "DBus write failed, error: " + std::string(l_ex.what())); in writeDbusProperty()
319 catch (const sdbusplus::exception::SdBusError& l_ex) in isServiceRunning() local
323 std::string(l_ex.what())); in isServiceRunning()
358 catch (const sdbusplus::exception::SdBusError& l_ex) in biosGetAttributeMethodCall() local
362 " due to error " + std::string(l_ex.what())); in biosGetAttributeMethodCall()
[all …]
H A Dvpd_specific_utility.hpp62 catch (const std::exception& l_ex) in generateBadVPDFileName() local
66 i_vpdFilePath + "]. Error: " + l_ex.what()); in generateBadVPDFileName()
129 catch (const std::exception& l_ex) in dumpBadVpd() local
132 "]. Error: " + l_ex.what()); in dumpBadVpd()
168 catch (const std::exception& l_ex) in getKwVal() local
171 "]. Error : " + l_ex.what()); in getKwVal()
222 catch (const std::exception& l_ex) in encodeKeyword() local
226 "]. Error: " + l_ex.what()); in encodeKeyword()
269 catch (const std::exception& l_ex) in insertOrMerge() local
274 "] map failed, reason: " + std::string(l_ex.what())); in insertOrMerge()
[all …]
/openbmc/openpower-vpd-parser/vpd-manager/src/
H A Devent_logger.cpp140 catch (const std::exception& l_ex) in createAsyncPelWithInventoryCallout() local
143 "Create PEL failed with error: " + std::string(l_ex.what())); in createAsyncPelWithInventoryCallout()
241 catch (const sdbusplus::exception::SdBusError& l_ex) in createAsyncPel() local
244 std::string(l_ex.what())); in createAsyncPel()
297 catch (const sdbusplus::exception::SdBusError& l_ex) in createSyncPel() local
300 std::string(l_ex.what())); in createSyncPel()
315 const DataException& l_ex = in getExceptionData() local
317 l_errorInfo["ErrorType"] = l_ex.getErrorType(); in getExceptionData()
323 const EccException& l_ex = in getExceptionData() local
325 l_errorInfo["ErrorType"] = l_ex.getErrorType(); in getExceptionData()
[all …]
H A Dmanager_main.cpp50 catch (const std::exception& l_ex) in main() local
54 vpd::EventLogger::getErrorType(l_ex), in main()
56 vpd::EventLogger::getErrorMsg(l_ex), std::nullopt, std::nullopt, in main()
H A Dmanager.cpp72 catch (const std::exception& l_ex) in Manager() local
76 std::string(l_ex.what()) + "}"); in Manager()
79 EventLogger::getErrorType(l_ex), in Manager()
81 EventLogger::getErrorMsg(l_ex), std::nullopt, std::nullopt, in Manager()
254 catch (const std::exception& l_ex) in processAssetTagChangeCallback() local
258 std::string(l_ex.what())); in processAssetTagChangeCallback()
302 catch (const std::exception& l_ex) in SetTimerToDetectSVPDOnDbus() local
305 EventLogger::getErrorType(l_ex), types::SeverityType::Critical, in SetTimerToDetectSVPDOnDbus()
308 EventLogger::getErrorMsg(l_ex), in SetTimerToDetectSVPDOnDbus()
544 catch (const std::exception& l_ex) in ConfigurePowerVsSystem() local
[all …]
H A Dworker.cpp149 catch (const std::exception& l_ex) in performInitialSetup() local
154 EventLogger::getErrorType(l_ex), types::SeverityType::Critical, in performInitialSetup()
155 __FILE__, __FUNCTION__, 0, EventLogger::getErrorMsg(l_ex), in performInitialSetup()
1241 catch (const std::exception& l_ex) in publishSystemVPD() local
1244 EventLogger::getErrorType(l_ex), types::SeverityType::Warning, in publishSystemVPD()
1245 __FILE__, __FUNCTION__, 0, EventLogger::getErrorMsg(l_ex), in publishSystemVPD()
1427 catch (std::exception& l_ex) in parseVpdFile() local
1438 i_vpdFilePath + " due to error: " + l_ex.what() + in parseVpdFile()
1445 i_vpdFilePath + " due to error: " + l_ex.what()); in parseVpdFile()
1636 catch (const std::exception& l_ex) in collectFrusFromJson() local
[all …]
H A Dsingle_fab.cpp48 catch (const std::exception& l_ex) in getImFromPersistedLocation() local
81 catch (const std::ifstream::failure& l_ex) in getImFromPlanar() local
110 catch (const std::exception& l_ex) in setImOnPlanar() local
133 catch (const std::exception& l_ex) in isFieldModeEnabled() local
H A Dgpio_monitor.cpp49 catch (std::exception& l_ex) in handleChangeInGpioPin() local
51 logging::logMessage(std::string(l_ex.what())); in handleChangeInGpioPin()
H A Dparser.cpp213 catch (const std::exception& l_ex) in updateVpdKeyword() local
217 " failed due to error: " + l_ex.what()); in updateVpdKeyword()
H A Dddimm_parser.cpp319 catch (const std::exception& l_ex) in getDdr4BasedDdimmSize() local
323 std::string(l_ex.what())); in getDdr4BasedDdimmSize()
/openbmc/openpower-vpd-parser/vpd-tool/include/
H A Dtool_utils.hpp66 catch (const sdbusplus::exception::SdBusError& l_ex) in readDbusProperty() local
70 throw std::runtime_error(std::string(l_ex.what())); in readDbusProperty()
113 catch (const sdbusplus::exception::SdBusError& l_ex) in getPropertyMap() local
135 catch (const nlohmann::json::type_error& l_ex) in printJson() local
138 "Failed to dump JSON data, error: " + std::string(l_ex.what())); in printJson()
275 catch (const std::ios_base::failure& l_ex) in saveToFile() local
281 << l_ex.what() << '\n'; in saveToFile()
491 catch (const nlohmann::json::parse_error& l_ex) in getParsedJson() local
536 catch (const sdbusplus::exception::SdBusError& l_ex) in GetServiceInterfacesForObject() local
539 std::cerr << std::string(l_ex.what()) << std::endl; in GetServiceInterfacesForObject()
[all …]
/openbmc/openpower-vpd-parser/vpd-tool/src/
H A Dvpd_tool.cpp99 catch (const std::exception& l_ex) in readKeyword() local
104 << i_keywordName << ", error: " << l_ex.what() << std::endl; in readKeyword()
132 catch (std::exception& l_ex) in dumpObject() local
136 << "], Error: " << l_ex.what() << std::endl; in dumpObject()
348 catch (const std::exception& l_ex) in getInventoryPropertyJson() local
353 << ", failed with exception: " << l_ex.what() << std::endl; in getInventoryPropertyJson()
447 catch (const std::exception& l_ex) in writeKeyword() local
453 << " is failed. Exception: " << l_ex.what() << std::endl; in writeKeyword()
477 catch (const std::exception& l_ex) in getBackupRestoreCfgJsonObj() local
480 std::cerr << l_ex.what() << std::endl; in getBackupRestoreCfgJsonObj()
[all …]
/openbmc/openpower-vpd-parser/vpd-manager/include/
H A Dsingle_fab.hpp86 catch (const std::exception& l_ex) in isP10System() local
93 l_ex.what(), in isP10System()
113 catch (const std::exception& l_ex) in isP11System() local
120 l_ex.what(), in isP11System()
H A Dbios_handler.hpp248 catch (std::exception& l_ex) in BiosHandler() local
255 l_errMsg += l_ex.what() + std::string(" }"); in BiosHandler()