C
QSafeBitmapException Class
class SafeRenderer::QSafeBitmapExceptionAn 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 } |
Member Type Documentation
enum QSafeBitmapException::BitmapException
This enum describes the id of a thrown bitmap and bitmap reader exceptions.
Constant | Value | Description |
---|---|---|
SafeRenderer::QSafeBitmapException::OutOfDataCache | 1 | The total bitmap data size exceeds SafeRenderer::Constraints::MEMORY_POOL_SIZE. |
SafeRenderer::QSafeBitmapException::TooMany | 2 | The number of bitmaps exceeds the Constraints::MAX_AMOUNT_OF_BITMAPS value. |
SafeRenderer::QSafeBitmapException::DataCorrupted | 3 | The 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::SizeError | 0 | The amount of data in file is different from expected or data is zero size. |
Available under certain Qt licenses.
Find out more.