chore: Add course material
This commit is contained in:
@@ -0,0 +1,16 @@
|
||||
#ifndef Person_Exception_h
|
||||
#define Person_Exception_h
|
||||
|
||||
#include <exception>
|
||||
#include <string>
|
||||
|
||||
class PersonException : public std::exception {
|
||||
public:
|
||||
PersonException(std::string m);
|
||||
const char *what() const throw();
|
||||
|
||||
private:
|
||||
std::string msg;
|
||||
};
|
||||
|
||||
#endif
|
||||
Reference in New Issue
Block a user