|
| ConcurrentException ()=default |
| Default-constructs the exception object.
|
|
template<typename... Args>
requires requires (Args&&... args) { T { std::forward<Args> (args)... }; } |
| ConcurrentException (Args &&... args) |
| Constructs the exception object with the given args.
|
|
void | raise () const override |
| Rethrows an exception of exactly this type and state.
|
|
ConcurrentException< T > * | clone () const override |
| Constructs a copy of this object.
|
|
const char * | what () const noexcept override |
| Overrides base pure virtual.
|
|
template<typename T>
class LC::Util::ConcurrentException< T >
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.
- Template Parameters
-
T | The base type of the exception. |
Definition at line 30 of file concurrentexception.h.