#ifndef EXCEPTION_H #define EXCEPTION_H #include #include #include class Exception { private: string msg; public: Exception(string newmsg): msg(newmsg){} string getMsg() { return msg; } }; #endif