5#include "QtCore/qshareddata.h"
7#if !defined(QT_NO_EXCEPTIONS) || defined(Q_QDOC)
126 :
d(std::exchange(
other.d, {}))
virtual QException * clone() const
In your QException subclass, reimplement clone() like this:
virtual void raise() const
In your QException subclass, reimplement raise() like this:
QUnhandledExceptionPrivate(std::exception_ptr exception) noexcept
std::exception_ptr exceptionPtr
QUnhandledException & operator=(const QUnhandledException &other) noexcept
Assigns other to this QUnhandledException object and returns a reference to this QUnhandledException ...
~QUnhandledException() noexcept override
QUnhandledException * clone() const override
void raise() const override
std::exception_ptr exception() const
QUnhandledException(std::exception_ptr exception=nullptr) noexcept
void throwPossibleException()
std::exception_ptr exceptionHolder
std::exception_ptr exception() const
void setException(const QException &e)
bool hasException() const
Q_NORETURN void rethrowException() const
Combined button and popup list for selecting options.