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

Method Postcondition

src/openms/source/CONCEPT/Exception.cpp:107–111  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

105 }
106
107 Postcondition::Postcondition(const char* file, int line, const char* function, const string& condition) noexcept :
108 BaseException(file, line, function, "Postcondition failed", std::string(condition))
109 {
110 GlobalExceptionHandler::getInstance().setMessage(what());
111 }
112
113 IndexUnderflow::IndexUnderflow(const char* file, int line, const char* function, SignedSize index, Size size) noexcept :
114 BaseException(file, line, function, "IndexUnderflow", "the given index was too small: " + String(index) + " (size = " + String(size) + ")")

Callers

nothing calls this directly

Calls 3

stringClass · 0.85
getInstanceFunction · 0.85
setMessageMethod · 0.45

Tested by

no test coverage detected