12345678910111213141516171819202122 |
- #ifndef PRESCRIPTEXCEPTION_H
- #define PRESCRIPTEXCEPTION_H
- #include <exception>
- #include <string>
- using namespace std;
- class PreScriptException : public exception
- {
- public:
- PreScriptException(string message, int line);
- //const char* what() const override;
-
- private:
- string message;
- int line;
- };
- #endif
|