![]() |
Qt 6.x
The Qt SDK
|
#include <qexception.h>
Public Member Functions | |
void | setException (const QException &e) |
void | setException (std::exception_ptr e) |
bool | hasException () const |
std::exception_ptr | exception () const |
void | throwPossibleException () |
Q_NORETURN void | rethrowException () const |
Public Attributes | |
std::exception_ptr | exceptionHolder |
Definition at line 55 of file qexception.h.
std::exception_ptr QtPrivate::ExceptionStore::exception | ( | ) | const |
Definition at line 208 of file qexception.cpp.
References exceptionHolder.
bool QtPrivate::ExceptionStore::hasException | ( | ) | const |
Definition at line 203 of file qexception.cpp.
References exceptionHolder.
Referenced by rethrowException(), setException(), setException(), and throwPossibleException().
void QtPrivate::ExceptionStore::rethrowException | ( | ) | const |
Definition at line 219 of file qexception.cpp.
References exceptionHolder, hasException(), and Q_ASSERT.
Referenced by QFutureInterfaceBase::rethrowPossibleException(), QFutureInterfaceBase::waitForFinished(), and QFutureInterfaceBase::waitForResult().
void QtPrivate::ExceptionStore::setException | ( | const QException & | e | ) |
Definition at line 187 of file qexception.cpp.
References e, exceptionHolder, hasException(), and Q_ASSERT.
Referenced by QFutureInterfaceBasePrivate::Data::setException().
void QtPrivate::ExceptionStore::setException | ( | std::exception_ptr | e | ) |
Definition at line 197 of file qexception.cpp.
References e, exceptionHolder, hasException(), and Q_ASSERT.
void QtPrivate::ExceptionStore::throwPossibleException | ( | ) |
Definition at line 213 of file qexception.cpp.
References exceptionHolder, and hasException().
std::exception_ptr QtPrivate::ExceptionStore::exceptionHolder |
Definition at line 64 of file qexception.h.
Referenced by exception(), hasException(), rethrowException(), setException(), setException(), and throwPossibleException().