Searched refs:ToolException (Results 1 – 10 of 10) sorted by relevance
9 class ToolException : public std::exception class12 explicit ToolException(const std::string& message) : message(message) {}; in ToolException() function in host_tool::ToolException23 class NotFoundException : public ToolException27 ToolException(std::string("Couldn't find " + device)) {}; in NotFoundException()
74 throw ToolException("Stat check timed out"); in pollStat()83 throw ToolException( in pollStat()97 throw ToolException("Invalid stat metadata"); in pollStatus()104 throw ToolException("BMC reported failure"); in pollStatus()111 throw ToolException("Unrecognized action status"); in pollStatus()143 throw ToolException("BMC blob failed to become ready"); in pollReadReady()
50 throw ToolException("Goal firmware not supported"); in updaterMain()91 throw ToolException("Verification failed"); in updaterMain()108 throw ToolException("Update failed"); in updaterMain()
87 throw ToolException( in retryIfFailed()90 catch (const ToolException& t) in retryIfFailed()118 throw ToolException("Failed to send contents of " + path); in retrySendFile()
79 throw ToolException("Didn't receive expected size of metadata for " in sendContents()
110 throw ToolException( in write()
280 catch (const host_tool::ToolException& e) in main()
97 ToolException); in TEST_F()123 ToolException); in TEST_F()187 ToolException); in TEST_F()195 .WillRepeatedly(Throw(ToolException("asdf"))); in TEST_F()197 ToolException); in TEST_F()206 .WillOnce(Throw(ToolException("asdf"))) in TEST_F()207 .WillOnce(Throw(ToolException("asdf"))) in TEST_F()229 ToolException); in TEST_F()265 ToolException); in TEST_F()281 ToolException); in TEST_F()[all …]
47 EXPECT_THROW(pollStatus(session, &blobMock), ToolException); in TEST_F()72 EXPECT_THROW(pollReadReady(session, &blobMock), ToolException); in TEST_F()106 EXPECT_THROW(pollReadReady(session, &blobMock), ToolException); in TEST_F()
350 EXPECT_THROW(bridge->write(std::span<std::uint8_t>(data)), ToolException); in TEST()591 EXPECT_THROW(bridge->write(std::span<std::uint8_t>(data)), ToolException); in TEST()