7 #include <QWriteLocker>
14 : std::exception(other), m_payload(other.m_payload)
16 QReadLocker lock(&other.m_lock);
17 this->m_temp = other.m_temp;
22 QWriteLocker lock(&this->m_lock);
23 if (m_temp.isNull()) { m_temp = m_payload.
getMessage().toLocal8Bit(); }
bool isEmpty() const
Message empty.
Throwable exception class containing a CStatusMessage.
CStatusException(const CStatusMessage &payload)
Constructor.
static void maybeThrow(const CStatusMessage &)
If the message is not empty then throw it.
virtual const char * what() const noexcept
Return null-terminated message string.
Streamable status message, e.g.
QString getMessage() const
Message.
Free functions in swift::misc.