VisualizeVideo
 All Classes Functions Pages
RenderingException.h
1 #ifndef RENDERING_EXCEPTION_H
2 #define RENDERING_EXCEPTION_H
3 
4 #include <exception>
5 
7 
8 class RenderingException : public std::exception {
9 public:
10  RenderingException(std::string &msg): _msg(msg) {}
11  ~RenderingException() {}
12 
13  const char *what() const { return _msg.c_str(); }
14 private:
15  std::string _msg;
16 };
17 
18 #endif