Searched refs:DataException (Results 1 – 11 of 11) sorted by relevance
| /openbmc/openpower-vpd-parser/vpd-manager/include/ |
| H A D | exceptions.hpp | 92 class DataException : public Exception class 96 DataException() = delete; 97 DataException(const DataException&) = delete; 98 DataException(DataException&&) = delete; 99 DataException& operator=(const DataException&) = delete; 102 ~DataException() = default; 108 explicit DataException(const std::string& msg) : Exception(msg) {} in DataException() function in vpd::DataException
|
| H A D | ddimm_parser.hpp | 43 throw(DataException("Malformed DDIMM VPD")); in DdimmVpdParser()
|
| /openbmc/openpower-vpd-parser/vpd-manager/src/ |
| H A D | keyword_vpd_parser.cpp | 18 throw(DataException("Vector for Keyword format VPD is empty")); in parse() 24 throw(DataException("Invalid Large resource type Identifier String")); in parse() 40 throw(DataException("Invalid Keyword Vpd Start Tag")); in parse() 50 throw(DataException("Invalid Small resource type End")); in parse() 62 throw(DataException("Invalid Small resource type.")); in parse() 76 throw(DataException("Data size is 0, badly formed keyword VPD")); in populateVpdMap() 122 throw(DataException("Invalid Checksum")); in validateChecksum() 132 throw(DataException("Truncated VPD data")); in checkNextBytesValidity()
|
| H A D | ipz_parser.cpp | 145 throw(DataException("Invalid record offset or length")); in recordEccCheck() 187 throw(DataException("Malformed VPD")); in checkHeader() 196 throw(DataException("VHDR record not found")); in checkHeader() 222 throw(DataException("VTOC record not found")); in readTOC() 648 throw(DataException("Given record found at the offset " + in setKeywordValueInRecord() 722 throw(DataException( in setKeywordValueInRecord() 781 throw(DataException("Record not found in VTOC PT keyword.")); in writeKeywordOnHardware() 795 throw(DataException("Unable to set value on " + l_recordName + ":" + in writeKeywordOnHardware()
|
| H A D | parser_factory.cpp | 138 throw DataException( in getParser()
|
| H A D | worker.cpp | 421 throw DataException( in processExtraInterfaces() 897 if (typeid(l_ex) == typeid(DataException)) in parseVpdFile() 899 throw DataException(l_exMsg); in parseVpdFile() 1015 if (typeid(ex) == std::type_index(typeid(DataException))) in parseAndPublishVPD() 1055 (typeid(ex) == typeid(DataException)) || in parseAndPublishVPD()
|
| H A D | ddimm_parser.cpp | 356 throw(DataException("Error: Calculated dimm size is 0.")); in readKeywords()
|
| /openbmc/openpower-vpd-parser/test/ |
| H A D | utest_keyword_parser.cpp | 61 EXPECT_THROW(l_vpdParser.parse(), DataException); in TEST() 71 EXPECT_THROW(l_vpdParser.parse(), DataException); in TEST() 81 EXPECT_THROW(l_vpdParser.parse(), DataException); in TEST() 91 EXPECT_THROW(l_vpdParser.parse(), DataException); in TEST() 101 EXPECT_THROW(l_vpdParser.parse(), DataException); in TEST() 111 EXPECT_THROW(l_vpdParser.parse(), DataException); in TEST() 123 EXPECT_THROW(l_vpdParser.parse(), DataException); in TEST() 135 EXPECT_THROW(l_vpdParser.parse(), DataException); in TEST()
|
| H A D | utest_ddimm_parser.cpp | 111 EXPECT_THROW(DdimmVpdParser(std::move(emptyVector)), DataException); in TEST()
|
| /openbmc/openpower-vpd-parser/vpd-manager/oem-handler/ |
| H A D | ibm_handler.cpp | 562 throw DataException("Failed to fetch HW value. Reason: " + in getSystemJson() 565 throw DataException("HW value fetched is empty."); in getSystemJson() 574 throw DataException("Failed to fetch IM value. Reason: " + in getSystemJson() 577 throw DataException("IM value fetched is empty."); in getSystemJson() 583 throw DataException("IM keyword does not map to any system type"); in getSystemJson() 616 throw DataException( in setEnvAndReboot() 852 throw DataException("Invalid format of parsed VPD map."); in setJsonSymbolicLink() 990 throw DataException( in setDeviceTreeAndJson()
|
| /openbmc/openpower-vpd-parser/vpd-manager/include/utility/ |
| H A D | event_logger_utility.hpp | 89 if (typeid(i_exception) == typeid(DataException)) in getExceptionData() 91 const DataException& l_ex = in getExceptionData() 92 dynamic_cast<const DataException&>(i_exception); in getExceptionData()
|