// myExceptions.h - contains templates for every exception class // there is one initially // you must add the required number of exceptions #ifndef MYEXCEPTIONS_CLASS #define MYEXCEPTIONS_CLASS #include using namespace std; class ReadEmptyFile : public exception { public: ReadEmptyFile(); }; // add your other exceptions here class OutOfBounds : public exception { public: OutOfBounds(); }; #endif // MYEXCEPTIONS_CLASS