11 #include "exception.hpp"
13 using namespace Huggle;
17 std::cerr <<
"FATAL Exception thrown: " + Text.toStdString() << std::endl;
20 this->Source =
"None";
21 this->_IsRecoverable = __IsRecoverable;
26 std::cerr <<
"FATAL Exception thrown: " + Text.toStdString() << std::endl;
27 this->Source = _Source;
30 this->_IsRecoverable = __IsRecoverable;
33 bool Exception::IsRecoverable()
35 return _IsRecoverable;
This is similar to query, just it's more simple, you can use it to deliver messages to users...
Exception(QString Text, bool __IsRecoverable=true)
ctor