Migration of QtMvvm from github
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.
 
 
 
 
 

25 lines
471 B

#include "ipresenter.h"
using namespace QtMvvm;
PresenterException::PresenterException(const QByteArray &what) :
_what(what)
{}
PresenterException::PresenterException(const PresenterException * const other) :
_what(other->_what)
{}
const char *PresenterException::what() const noexcept
{
return _what.constData();
}
void PresenterException::raise() const
{
throw (*this);
}
QException *PresenterException::clone() const
{
return new PresenterException(this);
}