#ifndef HONABUSYEXCEPTION_H #define HONABUSYEXCEPTION_H #include #include class HonaBusyException : public std::exception { private: QString _str; public: HonaBusyException(QString str) { _str = str; } virtual const char* what() const throw() { return _str.toStdString().c_str(); } }; #endif //HONABUSYEXCEPTION_H