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 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 QStateManagerException::StateManagerException

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

ConstantValueDescription
SafeRenderer::QStateManagerException::ConnectionAlreadyExists0The event is already connected.
SafeRenderer::QStateManagerException::NotConnectedEvent1The event is not connected.
SafeRenderer::QStateManagerException::TooManyConnections2The number of connections exceeds the value defined in SafeRenderer::Constraints::MAX_NUM_OF_CONNECTIONS.
SafeRenderer::QStateManagerException::StateNotFound3The connected item could not be found.
SafeRenderer::QStateManagerException::MaxNumOfLayoutsExceed4The number of layouts exceeds maximum defined in SafeRenderer::Constraints::MAX_NUM_OF_LAYOUTS
SafeRenderer::QStateManagerException::LayoutAlreadyExists5A layout with the same id have already been added.
SafeRenderer::QStateManagerException::InvalidLayoutId6The layout id is 0.
SafeRenderer::QStateManagerException::InvalidLayoutObject7The layout pointer is NULL or the layout is not in OK state.
SafeRenderer::QStateManagerException::ItemOutOfBounds8The layout item is out of bounds.
SafeRenderer::QStateManagerException::UnsupportedEvent9The event ID is not supported.

Available under certain Qt licenses.
Find out more.