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 58 of file qexception.h.

Member Function Documentation

◆ exception()

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

Definition at line 233 of file qexception.cpp.

◆ hasException()

bool QtPrivate::ExceptionStore::hasException ( ) const

Definition at line 228 of file qexception.cpp.

◆ rethrowException()

void QtPrivate::ExceptionStore::rethrowException ( ) const

Definition at line 244 of file qexception.cpp.

◆ setException() [1/2]

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

Definition at line 212 of file qexception.cpp.

◆ setException() [2/2]

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

Definition at line 222 of file qexception.cpp.

◆ throwPossibleException()

void QtPrivate::ExceptionStore::throwPossibleException ( )

Definition at line 238 of file qexception.cpp.

Member Data Documentation

◆ exceptionHolder

std::exception_ptr QtPrivate::ExceptionStore::exceptionHolder

Definition at line 67 of file qexception.h.


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