#ifndef Person_Exception_h #define Person_Exception_h #include #include class PersonException : public std::exception { public: PersonException(std::string m); const char *what() const throw(); private: std::string msg; }; #endif