![]() |
LeechCraft
0.6.70-15082-g543737046d
Modular cross-platform feature rich live environment.
|
A concurrent exception that plays nicely with Qt. More...
#include "concurrentexception.h"
Public Member Functions | |
ConcurrentException ()=default | |
Default-constructs the exception object. More... | |
template<typename... Args> | |
requires | requires (Args &&... args) |
Constructs the exception object with the given args. More... | |
ConcurrentException (Args &&... args) | |
void | raise () const override |
Rethrows an exception of exactly this type and state. More... | |
ConcurrentException< T > * | clone () const override |
Constructs a copy of this object. More... | |
const char * | what () const noexcept override |
Overrides base pure virtual. More... | |
A concurrent exception that plays nicely with Qt.
This class can be used to make some third-party exception type compatible with the QtConcurrent framework, which requires all exceptions to be derived from a Qt's base exception class.
This class wraps differences between Qt4's QtConcurrent::Exception and Qt5's QException and provides an uniform interface.
T | The base type of the exception. |
Definition at line 39 of file concurrentexception.h.
|
default |
Default-constructs the exception object.
|
inlineexplicit |
Definition at line 57 of file concurrentexception.h.
|
inlineoverride |
Constructs a copy of this object.
Definition at line 75 of file concurrentexception.h.
|
inlineoverride |
Rethrows an exception of exactly this type and state.
ConcurrentException<T> |
Definition at line 66 of file concurrentexception.h.
|
inline |
Constructs the exception object with the given args.
[in] | args | The argments to pass to the constructor of the base exception T. |
Args | The types of the arguments of the constructor of T. |
Definition at line 56 of file concurrentexception.h.
|
inlineoverridenoexcept |