| 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) + ")") |
nothing calls this directly
no test coverage detected