Home
last modified time | relevance | path

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

12345678910>>...33

/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/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/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/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/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/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()
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/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/bios-bmc-smm-error-logger/src/
H A Dbuffer.cpp34 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/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()
/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/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/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/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/sdbusplus/include/sdbusplus/message/
H A Dread.hpp87 throw exception::SdBusError( in op()
102 throw sdbusplus::exception::InvalidEnumString(); in op()
129 throw exception::SdBusError(-r, "sd_bus_message_read_basic string"); in op()
147 throw exception::SdBusError(-r, "sd_bus_message_read_basic bool"); in op()
170 throw exception::SdBusError( in op()
182 throw exception::SdBusError( in op()
189 throw exception::SdBusError( in op()
217 throw exception::SdBusError(-r, "sd_bus_message_read_array"); in op()
236 throw exception::SdBusError( in op()
248 throw exception::SdBusError( in op()
[all …]
/openbmc/sdbusplus/src/
H A Dbus.cpp30 throw exception::SdBusError(-rc, __PRETTY_FUNCTION__); in new_default()
42 throw exception::SdBusError(-rc, __PRETTY_FUNCTION__); in new_default_user()
54 throw exception::SdBusError(-rc, __PRETTY_FUNCTION__); in new_default_system()
66 throw exception::SdBusError(-rc, __PRETTY_FUNCTION__); in new_bus()
80 throw exception::SdBusError(-rc, __PRETTY_FUNCTION__); in new_user()
94 throw exception::SdBusError(-rc, __PRETTY_FUNCTION__); in new_system()
149 throw exception::SdBusError(-r, "sd_notify WATCHDOG=1"); in watchdog_pet()
158 throw exception::SdBusError(-r, "sd_notify WATCHDOG=trigger"); in watchdog_trigger()
168 throw exception::SdBusError(-r, "sd_watchdog_enabled"); in watchdog_enabled()
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/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-bmc-code-mgmt/common/pldm/
H A Dpackage_parser.cpp65 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/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/kcsbridge/src/
H A Dargs.cpp28 throw std::runtime_error( in Args()
32 throw std::runtime_error(std::format( in Args()
38 throw std::invalid_argument("Requires no additional arguments"); in Args()
42 throw std::invalid_argument("Missing KCS channel"); in Args()
/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/openbmc/meta-openembedded/meta-oe/recipes-printing/cups/libcupsfilters/
H A D0001-use-noexcept-false-instead-of-throw-from-c-17-onward.patch4 Subject: [PATCH] use noexcept(false) instead of throw() from c++17 onwards
8 throw(whatever) with noexcept(false).
24 -#define _GLIBCXX_THROW throw
26 +#define _GLIBCXX_THROW throw
/openbmc/gpioplus/src/gpioplus/
H A Dhandle.cpp49 throw std::runtime_error("Too many requested gpio handles"); in build()
62 throw std::invalid_argument("consumer_label"); in build()
70 throw std::system_error(-r, std::generic_category(), in build()
103 throw std::system_error(-r, std::generic_category(), in getValues()
118 throw std::runtime_error("Handle.setValues: Invalid input size"); in setValues()
130 throw std::system_error(-r, std::generic_category(), in setValues()

12345678910>>...33