PreScriptException.h 327 B

12345678910111213141516171819202122
  1. #ifndef PRESCRIPTEXCEPTION_H
  2. #define PRESCRIPTEXCEPTION_H
  3. #include <exception>
  4. #include <string>
  5. using namespace std;
  6. class PreScriptException : public exception
  7. {
  8. public:
  9. PreScriptException(string message, int line);
  10. //const char* what() const override;
  11. private:
  12. string message;
  13. int line;
  14. };
  15. #endif