C
SafeRenderer::QSafeException Class
class SafeRenderer::QSafeExceptionQSafeException is the base class for saferenderer's exceptions. More...
Public Functions
| QSafeException(const SafeRenderer::qchar *const reasonArg) | |
| QSafeException(SafeRenderer::QSafeException &&other) | |
| virtual | ~QSafeException() |
| virtual const SafeRenderer::qchar * | what() const |
| SafeRenderer::QSafeException & | operator=(SafeRenderer::QSafeException &&other) |
| SafeRenderer::QSafeException & | operator=(const SafeRenderer::QSafeException &other) |
Detailed Description
All exceptions in saferender runtime inherit this exception base class. Pointer to a string containing the reason for exception is stored in this class. Throwing class has ownership of the reason string buffer.
Member Function Documentation
[explicit noexcept] QSafeException::QSafeException(const SafeRenderer::qchar *const reasonArg)
Creates a QSafeException instance with given reason reasonArg.
[constexpr noexcept default] QSafeException::QSafeException(SafeRenderer::QSafeException &&other)
Move-constructs an instance of QSafeException.
[virtual constexpr noexcept default] QSafeException::~QSafeException()
Destroys the instance of QSafeException. This destructor is virtual.
[virtual] const SafeRenderer::qchar *QSafeException::what() const
Returns the reason for this exception.
[delete] SafeRenderer::QSafeException &QSafeException::operator=(SafeRenderer::QSafeException &&other)
Move-assigns other to this QSafeException instance. This function is deleted.
[delete] SafeRenderer::QSafeException &QSafeException::operator=(const SafeRenderer::QSafeException &other)
Copy-assigns other to this QSafeException instance. This function is deleted.
Available under certain Qt licenses.
Find out more.