/openbmc/phosphor-power/tools/i2c/ |
H A D | i2c.cpp | 42 throw I2CException("Failed to get funcs", busStr, devAddr, errno); in getFuncs() 57 throw I2CException("Missing SMBUS_READ_BYTE", busStr, devAddr); in checkReadFuncs() 63 throw I2CException("Missing SMBUS_READ_BYTE_DATA", busStr, in checkReadFuncs() 70 throw I2CException("Missing SMBUS_READ_WORD_DATA", busStr, in checkReadFuncs() 77 throw I2CException("Missing SMBUS_READ_BLOCK_DATA", busStr, in checkReadFuncs() 84 throw I2CException("Missing I2C_FUNC_SMBUS_READ_I2C_BLOCK", in checkReadFuncs() 103 throw I2CException("Missing SMBUS_WRITE_BYTE", busStr, devAddr); in checkWriteFuncs() 109 throw I2CException("Missing SMBUS_WRITE_BYTE_DATA", busStr, in checkWriteFuncs() 116 throw I2CException("Missing SMBUS_WRITE_WORD_DATA", busStr, in checkWriteFuncs() 123 throw I2CException("Missing SMBUS_WRITE_BLOCK_DATA", busStr, in checkWriteFuncs() [all …]
|
H A D | i2c_interface.hpp | 71 * @throw I2CException on error 90 * @throw I2CException on error 98 * @throw I2CException on error 107 * @throw I2CException on error 119 * @throw I2CException on error 138 * @throw I2CException on error 147 * @throw I2CException on error 156 * @throw I2CException on error 168 * @throw I2CException on error 183 * @throw I2CException on error [all …]
|
/openbmc/google-ipmi-sys/ |
H A D | handler.cpp | 152 throw IpmiException(::ipmi::ccInvalidFieldRequest); in getRxPackets() 159 throw IpmiException(::ipmi::ccInvalidFieldRequest); in getRxPackets() 173 throw IpmiException(::ipmi::ccUnspecifiedError); in getRxPackets() 189 throw IpmiException(::ipmi::ccInvalidFieldRequest); in getCpldVersion() 204 throw IpmiException(::ipmi::ccUnspecifiedError); in getCpldVersion() 217 throw IpmiException(::ipmi::ccUnspecifiedError); in getCpldVersion() 236 throw IpmiException(::ipmi::ccUnspecifiedError); in psuResetDelay() 244 throw IpmiException(::ipmi::ccUnspecifiedError); in psuResetDelay() 265 throw IpmiException(::ipmi::ccUnspecifiedError); in psuResetDelay() 278 throw IpmiException(::ipmi::ccUnspecifiedError); in psuResetOnShutdown() [all …]
|
H A D | handler.hpp | 63 * @throw IpmiException on failure. 72 * @throw IpmiException on failure. 80 * @throw IpmiException on failure. 87 * @throw IpmiException on failure. 100 * @throw IpmiException on failure. 109 * @throw IpmiException on failure. 117 * @throw IpmiException on failure. 146 * @throw IpmiException on failure. 154 * @throw IpmiException on failure. 166 * @throw IpmiException on failure. [all …]
|
/openbmc/phosphor-pid-control/buildjson/ |
H A D | buildjson.cpp | 15 throw ConfigurationException( in validateJson() 21 throw ConfigurationException( in validateJson() 27 throw ConfigurationException( in validateJson() 35 throw ConfigurationException( in validateJson() 41 throw ConfigurationException( in validateJson() 52 throw ConfigurationException("Unable to open json file"); in parseValidateJson() 58 throw ConfigurationException("Invalid json - parse failed"); in parseValidateJson()
|
/openbmc/bios-bmc-smm-error-logger/src/ |
H A D | buffer.cpp | 34 throw std::runtime_error(std::format( in initialize() 45 throw std::runtime_error( in initialize() 71 throw std::runtime_error(std::format( in initialize() 85 throw std::runtime_error( in readBufferHeader() 115 throw std::runtime_error(std::format( in updateReadPtr() 138 throw std::runtime_error(std::format( in updateBmcFlags() 152 throw std::runtime_error( in wraparoundRead() 159 throw std::runtime_error(std::format( in wraparoundRead() 179 throw std::runtime_error( in wraparoundRead() 200 throw std::runtime_error(std::format( in wraparoundRead() [all …]
|
/openbmc/phosphor-power/phosphor-regulators/test/ |
H A D | error_logging_utils_tests.cpp | 55 throw PMBusError{"VOUT_MODE contains unsupported data format", in TEST() 105 throw i2c::I2CException{"Unable to open device reg1", "/dev/i2c-8", in TEST() 135 throw std::invalid_argument{"JSON element is not an array"}; in TEST() 168 throw ConfigFileParserError{ in TEST() 200 throw PMBusError{"VOUT_MODE contains unsupported data format", in TEST() 235 throw WriteVerificationError{ in TEST() 271 throw i2c::I2CException{"Unable to open device reg1", "/dev/i2c-8", in TEST() 303 // Throw TestSDBusError; exception_t is a pure virtual base class in TEST() 304 throw TestSDBusError{"DBusError: Invalid object path."}; in TEST() 334 throw std::runtime_error{ in TEST() [all …]
|
/openbmc/phosphor-ipmi-flash/tools/ |
H A D | handler.hpp | 75 * @throw ToolException on failure. 80 * @throw ToolException on failure (TODO: throw on timeout.) 93 * @throw ToolException on failure. 98 * @throw ToolException on failure (TODO: throw on timeout.) 103 * @throw ToolException on failure. 108 * @throw ToolException on failure.
|
/openbmc/pldm/common/ |
H A D | instance_id.hpp | 25 throw std::system_category().default_error_condition(rc); in InstanceIdDb() 38 throw std::system_category().default_error_condition(rc); in InstanceIdDb() 45 * Abandon error-reporting. We shouldn't throw an exception from the in ~InstanceIdDb() 66 throw std::runtime_error("No free instance ids"); in next() 71 throw std::system_category().default_error_condition(rc); in next() 86 throw std::runtime_error( in free() 92 throw std::system_category().default_error_condition(rc); in free()
|
/openbmc/telemetry/src/utils/ |
H A D | dbus_path_utils.cpp | 10 throw sdbusplus::exception::SdBusError( in pathAppend() 21 throw sdbusplus::exception::SdBusError( in pathAppend() 41 throw sdbusplus::exception::SdBusError( in reportPathToId() 54 throw errors::InvalidArgument("Id", "Invalid prefixes in id."); in verifyIdPrefixes() 59 throw errors::InvalidArgument("Id", "Too many prefixes."); in verifyIdPrefixes() 64 throw errors::InvalidArgument("Id", "Prefix too long."); in verifyIdPrefixes() 72 throw errors::InvalidArgument("Id", "Too long."); in verifyIdPrefixes()
|
/openbmc/pldm/fw-update/ |
H A D | package_parser.cpp | 47 throw InternalFailure(); in parseFDIdentificationArea() 66 throw InternalFailure(); in parseFDIdentificationArea() 91 throw InternalFailure(); in parseFDIdentificationArea() 162 throw InternalFailure(); in parseCompImageInfoArea() 209 throw InternalFailure(); in validatePkgTotalSize() 220 throw InternalFailure(); in validatePkgTotalSize() 231 throw InternalFailure(); in parse() 239 throw InternalFailure(); in parse() 250 throw InternalFailure(); in parse() 256 throw InternalFailure(); in parse() [all …]
|
/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 | worker.cpp | 50 throw std::runtime_error("Mandatory tag(s) missing from JSON"); in Worker() 55 throw(JsonException(ex.what(), m_configJsonPath)); in Worker() 96 throw JsonException("System vpd file path missing in JSON", in isSystemVPDOnDBus() 117 throw std::runtime_error("Empty VPD map. Can't Extract IM value"); in getIMValue() 123 throw DataException("VSBP record missing."); in getIMValue() 129 throw DataException("IM keyword missing."); in getIMValue() 150 throw std::runtime_error("Empty VPD map. Can't Extract HW value"); in getHWVersion() 156 throw DataException("VINI record missing."); in getHWVersion() 162 throw DataException("HW keyword missing."); in getHWVersion() 191 throw std::runtime_error("Invalid file path passed to fillVPDMap API."); in fillVPDMap() [all …]
|
H A D | ipz_parser.cpp | 145 throw(DataException("Invalid record offset or length")); in recordEccCheck() 156 throw(EccException("Invalid ECC length or offset.")); in recordEccCheck() 187 throw(DataException("Malformed VPD")); in checkHeader() 196 throw(DataException("VHDR record not found")); in checkHeader() 201 throw(EccException("ERROR: VHDR ECC check Failed")); in checkHeader() 222 throw(DataException("VTOC record not found")); in readTOC() 227 throw(EccException("ERROR: VTOC ECC check Failed")); in readTOC() 273 throw(EccException("ERROR: ECC check failed")); in readPT() 407 throw e; in parse() 428 throw std::runtime_error( in getKeywordValueFromRecord() [all …]
|
/openbmc/phosphor-power/phosphor-power-supply/ |
H A D | util.cpp | 21 throw std::runtime_error("Line does not exist: " + namedGpio); in GPIOInterface() 26 throw std::runtime_error( in GPIOInterface() 49 throw std::runtime_error{std::string{"Failed to find line"}}; in read() 64 throw; in read() 72 throw; in read() 83 throw std::runtime_error{std::string{"Failed to find line"}}; in write() 98 throw; in write()
|
/openbmc/phosphor-networkd/src/ |
H A D | netlink.cpp | 32 throw std::runtime_error( in processMsg() 38 throw std::runtime_error( in processMsg() 59 throw std::runtime_error("Got done for non-multi msg"); in processMsg() 76 throw std::runtime_error("Got non-multi msg before done"); in processMsg() 101 throw std::system_error(errno, std::generic_category(), in requestSend() 156 throw std::system_error(errno, std::generic_category(), in receive() 163 throw std::runtime_error("netlink recvmsg: Got empty payload"); in receive() 177 throw std::runtime_error("Extra unprocessed netlink messages"); in receive() 188 throw std::runtime_error(std::format( in extractRtAttr() 193 throw std::runtime_error( in extractRtAttr()
|
/openbmc/phosphor-bmc-code-mgmt/common/pldm/ |
H A D | package_parser.cpp | 65 throw InternalFailure(); in parseFDIdentificationArea() 84 throw InternalFailure(); in parseFDIdentificationArea() 109 throw InternalFailure(); in parseFDIdentificationArea() 180 throw InternalFailure(); in parseCompImageInfoArea() 227 throw InternalFailure(); in validatePkgTotalSize() 238 throw InternalFailure(); in validatePkgTotalSize() 249 throw InternalFailure(); in parse() 257 throw InternalFailure(); in parse() 268 throw InternalFailure(); in parse() 274 throw InternalFailure(); in parse() [all …]
|
/openbmc/bios-settings-mgr/src/ |
H A D | password.cpp | 51 throw InternalFailure(); in compareDigest() 162 throw InternalFailure(); in verifyPassword() 169 throw InvalidCurrentPassword(); in verifyPassword() 176 throw InvalidCurrentPassword(); in verifyPassword() 183 throw InternalFailure(); in verifyPassword() 190 throw InternalFailure(); in verifyPassword() 195 throw InternalFailure(); in verifyPassword() 215 throw InternalFailure(); in changePassword() 220 throw InternalFailure(); in changePassword() 233 throw InternalFailure(); in changePassword() [all …]
|
/openbmc/estoraged/src/erase/ |
H A D | zero.cpp | 48 throw InternalFailure(); in writeZero() 56 throw InternalFailure(); in writeZero() 66 throw InternalFailure(); in writeZero() 97 throw InternalFailure(); in verifyZero() 104 throw InternalFailure(); in verifyZero() 114 throw InternalFailure(); in verifyZero() 121 throw InternalFailure(); in verifyZero()
|
/openbmc/openpower-sbe-interface/ |
H A D | sbe_chipOp_handler.cpp | 47 throw std::runtime_error(errMsg.str().c_str()); in writeToFifo() 53 throw std::runtime_error(errMsg.str().c_str()); in writeToFifo() 65 throw std::runtime_error(errMsg.str().c_str()); in writeToFifo() 75 throw std::runtime_error(errMsg.str().c_str()); in writeToFifo() 81 throw std::runtime_error(errMsg.str().c_str()); in writeToFifo() 96 throw std::runtime_error(errMsg.str().c_str()); in writeToFifo() 128 throw std::runtime_error(errMsg.str().c_str()); in parseResponse() 151 throw std::runtime_error(errMsg.str().c_str()); in parseResponse() 157 // Extract the SBE FFDC and throw it to the caller in parseResponse() 177 throw std::runtime_error(errMsg.str().c_str()); in parseResponse()
|
/openbmc/webui-vue/src/store/modules/SecurityAndAccess/ |
H A D | PoliciesStore.js | 84 throw new Error( 88 throw new Error( 117 throw new Error( 121 throw new Error( 145 throw new Error( 149 throw new Error( 173 throw new Error( 177 throw new Error( 195 throw new Error(
|
/openbmc/openpower-vpd-parser/vpd-tool/include/ |
H A D | tool_utils.hpp | 37 * @throw std::runtime_error 52 throw std::runtime_error("Empty Parameter"); in readDbusProperty() 70 throw std::runtime_error(std::string(l_ex.what())); in readDbusProperty() 137 throw std::runtime_error( in printJson() 151 * @throw - Throws std::bad_alloc or std::terminate in case of error. 190 * @throw std::runtime_error, sdbusplus::exception::SdBusError 198 throw std::runtime_error("Empty EEPROM path"); in readKeywordFromHardware() 220 throw; in readKeywordFromHardware() 318 * @throw - std::runtime_error, sdbusplus::exception::SdBusError 325 throw std::runtime_error("Empty path"); in writeKeyword() [all …]
|
/openbmc/sdbusplus/src/ |
H A D | event.cpp | 71 throw exception::SdBusError(errno, __func__); in signal() 81 throw exception::SdBusError(errno, __func__); in ack() 89 throw exception::SdBusError(-rc, __func__); in event() 101 throw exception::SdBusError(-rc, __func__); in run_one() 120 throw exception::SdBusError(-rc, __func__); in add_io() 134 throw exception::SdBusError(errno, __func__); in add_condition() 145 throw; in add_condition() 162 throw exception::SdBusError(-rc, __func__); in add_oneshot_timer()
|
/openbmc/openpower-vpd-parser/vpd-manager/include/utility/ |
H A D | json_utility.hpp | 102 throw std::runtime_error("Path to JSON is missing"); in getParsedJson() 108 throw std::runtime_error( in getParsedJson() 115 throw std::runtime_error( in getParsedJson() 152 throw std::runtime_error("Path parameter is empty."); in getInventoryObjPathFromJson() 157 throw std::runtime_error("Missing frus tag in system config JSON."); in getInventoryObjPathFromJson() 219 throw std::runtime_error( in executePostFailAction() 226 throw std::runtime_error( in executePostFailAction() 278 throw std::runtime_error( in processSystemCmdTag() 287 throw JsonException( in processSystemCmdTag() 333 throw std::runtime_error( in processGpioPresenceTag() [all …]
|
/openbmc/phosphor-fan-presence/monitor/ |
H A D | json_parser.cpp | 74 throw std::runtime_error( in getTrustGrps() 88 throw std::runtime_error( in getTrustGrps() 114 throw std::runtime_error( in getTrustGrps() 134 throw std::runtime_error( in getSensorDefs() 203 throw std::runtime_error( in getFanDefs() 213 throw std::runtime_error( in getFanDefs() 228 throw std::runtime_error( in getFanDefs() 259 throw std::runtime_error("Invalid fan method"); in getFanDefs() 281 throw std::runtime_error( in getFanDefs() 337 throw std::runtime_error( in getFanDefs() [all …]
|