C
QSafeFileException Class
class SafeRenderer::QSafeFileExceptionAn instance of QSafeFileException is thrown in case of an exception. More...
Header: | #include <QSafeFileException> |
Since: | QtSafeRenderer 2.1 |
Inherits: | SafeRenderer::QSafeException |
Public Types
enum | FileException { FailureToOpen, SeekError, ReadError, OutOfBoundsError, WriteError } |
Detailed Description
Instance of this class is thrown when an exception occurs related to safe file.
Member Type Documentation
enum QSafeFileException::FileException
This enum describes the id of a thrown safe file exception.
Constant | Value | Description |
---|---|---|
SafeRenderer::QSafeFileException::FailureToOpen | 0 | Could not open the file for reading. |
SafeRenderer::QSafeFileException::SeekError | 1 | Seek has failed on the opened file. For example, a filesystem error or file being a pipe may have caused the error. |
SafeRenderer::QSafeFileException::ReadError | 2 | The requested number of bytes could not be read from the opened file. |
SafeRenderer::QSafeFileException::OutOfBoundsError | 3 | The requested index is out of bounds. |
SafeRenderer::QSafeFileException::WriteError | 4 | The requested value could not be written to the file. |
Available under certain Qt licenses.
Find out more.