| 94 | } |
| 95 | |
| 96 | int BaseException::getLine() const noexcept |
| 97 | { |
| 98 | return line_; |
| 99 | } |
| 100 | |
| 101 | Precondition::Precondition(const char* file, int line, const char* function, const string& condition) noexcept : |
| 102 | BaseException(file, line, function, "Precondition failed", std::string(condition)) |
no outgoing calls