Qt
Internal/Contributor docs for the Qt SDK. Note: These are NOT official API docs; those are found at https://doc.qt.io/
Loading...
Searching...
No Matches
QtPrivate::ExceptionStore Class Reference

#include <qexception.h>

Collaboration diagram for QtPrivate::ExceptionStore:

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

Detailed Description

Definition at line 59 of file qexception.h.

Member Function Documentation

◆ exception()

std::exception_ptr QtPrivate::ExceptionStore::exception ( ) const

Definition at line 234 of file qexception.cpp.

◆ hasException()

bool QtPrivate::ExceptionStore::hasException ( ) const

Definition at line 229 of file qexception.cpp.

◆ rethrowException()

void QtPrivate::ExceptionStore::rethrowException ( ) const

Definition at line 245 of file qexception.cpp.

◆ setException() [1/2]

void QtPrivate::ExceptionStore::setException ( const QException & e)

Definition at line 213 of file qexception.cpp.

◆ setException() [2/2]

void QtPrivate::ExceptionStore::setException ( std::exception_ptr e)

Definition at line 223 of file qexception.cpp.

◆ throwPossibleException()

void QtPrivate::ExceptionStore::throwPossibleException ( )

Definition at line 239 of file qexception.cpp.

Member Data Documentation

◆ exceptionHolder

std::exception_ptr QtPrivate::ExceptionStore::exceptionHolder

Definition at line 68 of file qexception.h.


The documentation for this class was generated from the following files: