// ******************************************************** // Header file TreeException.h for the ADT binary tree. // ******************************************************** #include using namespace std; class TreeException : public exception { string msg; public: TreeException(const string & message =""): msg(message) { } const char* what() { return msg.c_str(); } ~TreeException() throw() {} }; // end TreeException