#include "InputStreamException.h" const char* XML_VERSION_STR = "XojStrm1:"; InputStreamException::InputStreamException(const string& message, const string& filename, int line) { this->message = message + ", " + filename + ": " + std::to_string(line); } InputStreamException::~InputStreamException() = default; auto InputStreamException::what() -> const char* { return this->message.c_str(); }