C

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 }

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::OutOfCache2The index is out of cache.
SafeRenderer::QSafeStateException::SafeStateException::DataCorrupted3Data is corrupted.
SafeRenderer::QSafeStateException::SafeStateException::InvalidData4Data is invalid.
SafeRenderer::QSafeStateException::SafeStateException::UnsupportedAnimationType5The animation type is not supported.

Available under certain Qt licenses.
Find out more.