C

QSafeResourceException Class

class SafeRenderer::QSafeResourceException

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

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

Public Types

enum ResourceException { FailureToOpen, OutOfBoundsError }

Detailed Description

Instance of this class is thrown when an exception occurs related to resources and resource readers.

Member Type Documentation

enum QSafeResourceException::ResourceException

This enum describes the id of a thrown resource exception.

ConstantValueDescription
SafeRenderer::QSafeResourceException::FailureToOpen0Could not find the file for reading.
SafeRenderer::QSafeResourceException::OutOfBoundsError1Reasource reader read pointer is out of bounds.

Available under certain Qt licenses.
Find out more.