PreScriptException.h 292 B

1234567891011121314151617
  1. #ifndef PRESCRIPTEXCEPTION_H
  2. #define PRESCRIPTEXCEPTION_H
  3. #include <exception>
  4. #include <string>
  5. class PreScriptException : public std::exception
  6. {
  7. public:
  8. PreScriptException(const std::string& message, unsigned int line);
  9. private:
  10. std::string message;
  11. int line;
  12. };
  13. #endif