//==================2-3-4树的异常处理类========================= #ifndef TWO_THREE_FOUR_TREE_EXCEPTION_H_ #define TWO_THREE_FOUR_TREE_EXCEPTION_H_ #include<string> #include<stdexcept> class TtfTreeException:public std::logic_error { public: TtfTreeException(const std::string &message="") :std::logic_error(message.c_str()) {} }; #endif