#ifndef PRESCRIPTEXCEPTION_H #define PRESCRIPTEXCEPTION_H #include #include class PreScriptException : public std::exception { public: PreScriptException(const std::string& message, unsigned int line); private: std::string message; int line; }; #endif