You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 

27 lines
516 B

#ifndef HONAALREADYSTARTEDEXCEPTION_H
#define HONAALREADYSTARTEDEXCEPTION_H
#include <QDebug>
#include <QString>
class HonaAlreadyStartedException : public std::exception
{
private:
QString _str;
public:
HonaAlreadyStartedException(QString str)
{
_str = str;
qDebug() << "HonaAlreadyStartedException " << str;
}
virtual const char* what() const throw()
{
qDebug() << "HonaAlreadyStartedException return " << _str;
return _str.toStdString().c_str();
}
};
#endif //HONAALREADYSTARTEDEXCEPTION_H