C

QStateManagerException Class

class SafeRenderer::QStateManagerException

An instance of QStateManagerException is thrown in case of an exception. More...

Header: #include <QStateManagerException>
Since: QtSafeRenderer 2.1
Inherits: SafeRenderer::QSafeException

Public Types

enum class StateManagerException { ConnectionAlreadyExists, NotConnectedEvent, TooManyConnections, StateNotFound, MaxNumOfLayoutsExceed, …, UnsupportedEvent }

Detailed Description

Instance of this class is thrown when an exception occurs related to state manager.

Member Type Documentation

enum class QStateManagerException::StateManagerException

This enum describes the id of a thrown state manager exception.

ConstantValueDescription
SafeRenderer::QStateManagerException::StateManagerException::ConnectionAlreadyExists0The event is already connected.
SafeRenderer::QStateManagerException::StateManagerException::NotConnectedEvent1The event is not connected.
SafeRenderer::QStateManagerException::StateManagerException::TooManyConnections2The number of connections exceeds the value defined in SafeRenderer::Constraints::MAX_NUM_OF_CONNECTIONS.
SafeRenderer::QStateManagerException::StateManagerException::StateNotFound?The connected item could not be found.
SafeRenderer::QStateManagerException::StateManagerException::MaxNumOfLayoutsExceed3The number of layouts exceeds maximum defined in SafeRenderer::Constraints::MAX_NUM_OF_LAYOUTS
SafeRenderer::QStateManagerException::StateManagerException::LayoutAlreadyExists4A layout with the same id have already been added.
SafeRenderer::QStateManagerException::StateManagerException::InvalidLayoutId5The layout id is 0.
SafeRenderer::QStateManagerException::StateManagerException::InvalidLayoutObject6The layout pointer is nullptr or the layout is not in OK state.
SafeRenderer::QStateManagerException::StateManagerException::ItemOutOfBounds7The layout item is out of bounds.
SafeRenderer::QStateManagerException::StateManagerException::UnsupportedEvent8The event ID is not supported.

Available under certain Qt licenses.
Find out more.