README: Rename project from 'qss' to 'looqs'
This commit is contained in:
24
shared/looqsgeneralexception.h
Normal file
24
shared/looqsgeneralexception.h
Normal file
@@ -0,0 +1,24 @@
|
||||
#ifndef QSSGENERALEXCEPTION_H
|
||||
#define QSSGENERALEXCEPTION_H
|
||||
|
||||
#include <QException>
|
||||
|
||||
class QSSGeneralException : public QException
|
||||
{
|
||||
public:
|
||||
QString message;
|
||||
QSSGeneralException(QString message)
|
||||
{
|
||||
this->message = message;
|
||||
}
|
||||
void raise() const override
|
||||
{
|
||||
throw *this;
|
||||
}
|
||||
QSSGeneralException *clone() const override
|
||||
{
|
||||
return new QSSGeneralException(*this);
|
||||
}
|
||||
};
|
||||
|
||||
#endif // QSSGENERALEXCEPTION_H
|
||||
Reference in New Issue
Block a user