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

Method SizeUnderflow

src/openms/source/CONCEPT/Exception.cpp:136–140  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

134 }
135
136 SizeUnderflow::SizeUnderflow(const char* file, int line, const char* function, Size size) noexcept :
137 BaseException(file, line, function, "SizeUnderflow", "the given size was too small: " + String(size))
138 {
139 GlobalExceptionHandler::getInstance().setMessage(what());
140 }
141
142 InvalidSize::InvalidSize(const char* file, int line, const char* function, Size size) noexcept :
143 BaseException(file, line, function, "InvalidSize", "the given size was not expected: " + String(size))

Callers

nothing calls this directly

Calls 3

getInstanceFunction · 0.85
StringClass · 0.50
setMessageMethod · 0.45

Tested by

no test coverage detected