On this page

C

SafeRenderer::QSafeStateException Class

class SafeRenderer::QSafeStateException

An 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.

ConstantValueDescription
SafeRenderer::QSafeStateException::SafeStateException::IndexOutOfBounds0The item's new index is out of bounds
SafeRenderer::QSafeStateException::SafeStateException::OutOfCache4The index is out of cache.
SafeRenderer::QSafeStateException::SafeStateException::DataCorrupted5Data is corrupted.
SafeRenderer::QSafeStateException::SafeStateException::InvalidData6Data is invalid.
SafeRenderer::QSafeStateException::SafeStateException::UnsupportedAnimationType7The 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.