#pragma once #include #include class ParserExceptions : public std::exception { private : const std::string _err; public : ParserExceptions(const std::string &s) : _err(s) {} ~ParserExceptions() throw() {}; const char *what() const throw() {return (_err.c_str());} };