Home
last modified time | relevance | path

Searched full:throw (Results 1 – 25 of 1034) sorted by relevance

12345678910>>...42

/openbmc/phosphor-power/tools/i2c/
H A Di2c.cpp42 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 Di2c_interface.hpp71 * @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/bios-bmc-smm-error-logger/src/
H A Dbuffer.cpp33 throw std::runtime_error(std::format( in initialize()
44 throw std::runtime_error( in initialize()
70 throw std::runtime_error(std::format( in initialize()
84 throw std::runtime_error( in readBufferHeader()
114 throw std::runtime_error(std::format( in updateReadPtr()
137 throw std::runtime_error(std::format( in updateBmcFlags()
151 throw std::runtime_error( in wraparoundRead()
158 throw std::runtime_error(std::format( in wraparoundRead()
178 throw std::runtime_error( in wraparoundRead()
199 throw std::runtime_error(std::format( in wraparoundRead()
[all …]
/openbmc/google-ipmi-sys/
H A Dhandler.cpp152 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 Dhandler.hpp63 * @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 Dbuildjson.cpp15 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/openpower-vpd-parser/vpd-tool/include/
H A Dtool_utils.hpp37 * @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(
151 * @throw - Throws std::bad_alloc or std::terminate in case of error. in readKeywordFromHardware()
190 * @throw std::runtime_error, sdbusplus::exception::SdBusError in saveToFile()
198 throw std::runtime_error("Empty EEPROM path"); in saveToFile()
220 throw; in saveToFile()
318 * @throw - std::runtime_error, sdbusplus::exception::SdBusError in writeKeywordOnHardware()
325 throw st in writeKeywordOnHardware()
[all...]
/openbmc/phosphor-ipmi-flash/tools/
H A Dhandler.hpp75 * @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/phosphor-power/phosphor-regulators/test/
H A Derror_logging_utils_tests.cpp55 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/pldm/common/
H A Dinstance_id.hpp25 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 Ddbus_path_utils.cpp10 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 Dpackage_parser.cpp47 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 Dkeyword_vpd_parser.cpp18 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 Dworker.cpp50 throw std::runtime_error("Mandatory tag(s) missing from JSON"); in Worker()
55 throw(JsonException(ex.what(), m_configJsonPath)); in Worker()
69 throw std::runtime_error("Config JSON is empty. Can't enable muxes"); in enableMuxChips()
165 throw; in performInitialSetup()
202 throw JsonException("System vpd file path missing in JSON", in isSystemVPDOnDBus()
223 throw std::runtime_error("Empty VPD map. Can't Extract IM value"); in getIMValue()
229 throw DataException("VSBP record missing."); in getIMValue()
235 throw DataException("IM keyword missing."); in getIMValue()
256 throw std::runtime_error("Empty VPD map. Can't Extract HW value"); in getHWVersion()
262 throw DataExceptio in getHWVersion()
[all...]
H A Dipz_parser.cpp174 throw(DataException("Invalid record offset or length")); in recordEccCheck()
185 throw(EccException("Invalid ECC length or offset.")); in recordEccCheck()
204 throw(DataException("Malformed VPD")); in checkHeader()
213 throw(DataException("VHDR record not found")); in checkHeader()
218 throw(EccException("ERROR: VHDR ECC check Failed")); in checkHeader()
239 throw(DataException("VTOC record not found")); in readTOC()
244 throw(EccException("ERROR: VTOC ECC check Failed")); in readTOC()
286 throw(EccException("ERROR: ECC check failed")); in readPT()
435 throw e; in parse()
456 throw std::runtime_error( in getKeywordValueFromRecord()
[all …]
H A Dmanager.cpp145 throw; in Manager()
168 throw std::runtime_error( in processAssetTagChangeCallback()
190 throw std::runtime_error( in processAssetTagChangeCallback()
197 throw std::runtime_error( in processAssetTagChangeCallback()
222 throw std::runtime_error( in SetTimerToDetectSVPDOnDbus()
228 throw std::runtime_error( in SetTimerToDetectSVPDOnDbus()
264 throw std::runtime_error( in SetTimerToDetectVpdCollectionStatus()
270 throw std::runtime_error( in SetTimerToDetectVpdCollectionStatus()
374 throw std::runtime_error("Given FRU path is empty"); in updateKeywordOnHardware()
418 throw std::runtime_error( in readKeyword()
[all …]
/openbmc/phosphor-networkd/src/
H A Dnetlink.cpp32 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/bios-settings-mgr/src/
H A Dpassword.cpp51 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/phosphor-power/phosphor-power-supply/
H A Dutil.cpp21 throw std::runtime_error("Line does not exist: " + namedGpio); in GPIOInterface()
26 throw std::runtime_error( in GPIOInterface()
51 throw std::runtime_error{std::string{"Failed to find line"}}; in read()
68 throw; in read()
77 throw; in read()
90 throw std::runtime_error{std::string{"Failed to find line"}}; in write()
105 throw; in write()
/openbmc/estoraged/src/erase/
H A Dzero.cpp48 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 Dsbe_chipOp_handler.cpp47 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 DPoliciesStore.js84 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/sdbusplus/src/
H A Devent.cpp71 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/phosphor-power/phosphor-power-sequencer/src/
H A Dconfig_file_parser.hpp98 throw std::invalid_argument{"Required property missing: " + property}; in getRequiredProperty()
119 throw std::invalid_argument{"Element is not a boolean"}; in parseBoolean()
189 throw std::invalid_argument{"Element is not a string"}; in parseString()
194 throw std::invalid_argument{"Element contains an empty string"}; in parseString()
214 throw std::invalid_argument{"Element is not an integer"}; in parseUint8()
219 throw std::invalid_argument{"Element is not an 8-bit unsigned integer"}; in parseUint8()
239 throw std::invalid_argument{"Element is not an unsigned integer"}; in parseUnsignedInteger()
255 throw std::invalid_argument{"Element is not an array"}; in verifyIsArray()
270 throw std::invalid_argument{"Element is not an object"}; in verifyIsObject()
290 throw std::invalid_argument{"Element contains an invalid property"}; in verifyPropertyCount()
/openbmc/phosphor-fan-presence/monitor/
H A Djson_parser.cpp77 throw std::runtime_error( in getTrustGrps()
91 throw std::runtime_error( in getTrustGrps()
117 throw std::runtime_error( in getTrustGrps()
138 throw std::runtime_error( in getSensorDefs()
209 throw std::runtime_error( in getFanDefs()
221 throw std::runtime_error(msg.c_str()); in getFanDefs()
238 throw std::runtime_error(msg.c_str()); in getFanDefs()
268 throw std::runtime_error("Invalid fan method"); in getFanDefs()
292 throw std::runtime_error( in getFanDefs()
349 throw std::runtime_error( in getFanDefs()
[all …]

12345678910>>...42