MCPcopy Create free account
hub / github.com/OpenMS/OpenMS / IndexOverflow

Method IndexOverflow

src/openms/source/CONCEPT/Exception.cpp:119–123  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

117 }
118
119 IndexOverflow::IndexOverflow(const char* file, int line, const char* function, SignedSize index, Size size) noexcept :
120 BaseException(file, line, function, "IndexOverflow", "the given index was too large: " + String(index) + " (size = " + String(size) + ")")
121 {
122 GlobalExceptionHandler::getInstance().setMessage(what());
123 }
124
125 FailedAPICall::FailedAPICall(const char* file, int line, const char* function, const std::string& message) noexcept :
126 BaseException(file, line, function, "FailedAPICall", message)

Callers

nothing calls this directly

Calls 3

getInstanceFunction · 0.85
StringClass · 0.50
setMessageMethod · 0.45

Tested by

no test coverage detected