C
SafeRenderer::QSafeStateException Class
class SafeRenderer::QSafeStateExceptionAn instance of QSafeStateException is thrown in case of an exception. More...
| Header: | #include <QSafeStateException> |
| Since: | QtSafeRenderer 2.1 |
| Inherits: | SafeRenderer::QSafeException |
Public Types
| enum class | SafeStateException { IndexOutOfBounds, OutOfCache, DataCorrupted, InvalidData, UnsupportedAnimationType } |
Public Functions
| QSafeStateException(SafeRenderer::QSafeStateException &&other) | |
| SafeRenderer::QSafeStateException & | operator=(SafeRenderer::QSafeStateException &&other) |
| SafeRenderer::QSafeStateException & | operator=(const SafeRenderer::QSafeStateException &other) |
Detailed Description
Instance of this class is thrown when an exception occurs related to states and state readers.
Member Type Documentation
enum class QSafeStateException::SafeStateException
This enum describes the id of a thrown state exception.
| Constant | Value | Description |
|---|---|---|
SafeRenderer::QSafeStateException::SafeStateException::IndexOutOfBounds | 0 | The item's new index is out of bounds |
SafeRenderer::QSafeStateException::SafeStateException::OutOfCache | 4 | The index is out of cache. |
SafeRenderer::QSafeStateException::SafeStateException::DataCorrupted | 5 | Data is corrupted. |
SafeRenderer::QSafeStateException::SafeStateException::InvalidData | 6 | Data is invalid. |
SafeRenderer::QSafeStateException::SafeStateException::UnsupportedAnimationType | 7 | The animation type is not supported. |
Member Function Documentation
[noexcept default] QSafeStateException::QSafeStateException(SafeRenderer::QSafeStateException &&other)
Move-constructs an instance of QSafeStateException.
[delete] SafeRenderer::QSafeStateException &QSafeStateException::operator=(SafeRenderer::QSafeStateException &&other)
Move-assigns other to this QSafeStateException instance. This function is deleted.
[delete] SafeRenderer::QSafeStateException &QSafeStateException::operator=(const SafeRenderer::QSafeStateException &other)
Copy-assigns other to this QSafeStateException instance. This function is deleted.
Available under certain Qt licenses.
Find out more.