C

QSafeBitmapException Class

class SafeRenderer::QSafeBitmapException

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

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

Public Types

enum BitmapException { OutOfDataCache, TooMany, DataCorrupted, SizeError }

Detailed Description

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

Member Type Documentation

enum QSafeBitmapException::BitmapException

This enum describes the id of a thrown bitmap and bitmap reader exceptions.

ConstantValueDescription
SafeRenderer::QSafeBitmapException::OutOfDataCache1The total bitmap data size exceeds SafeRenderer::Constraints::MEMORY_POOL_SIZE.
SafeRenderer::QSafeBitmapException::TooMany2The number of bitmaps exceeds the Constraints::MAX_AMOUNT_OF_BITMAPS value.
SafeRenderer::QSafeBitmapException::DataCorrupted3The crc does not match with the read data or header has unknown fields. For example, a filesystem error or a file being a pipe may have caused the error.
SafeRenderer::QSafeBitmapException::SizeError0The amount of data in file is different from expected or data is zero size.

Available under certain Qt licenses.
Find out more.