C
SafeRenderer::QSafeStringException Class
class SafeRenderer::QSafeStringExceptionAn instance of QSafeStringException is thrown in case of an exception. More...
Header: | #include <QSafeStringException> |
Since: | QtSafeRenderer 2.1 |
Inherits: | SafeRenderer::QSafeException |
Public Types
enum class | StringException { TooLong, IndexOutOfBounds } |
Member Type Documentation
enum class QSafeStringException::StringException
This enum describes the id of a thrown string exception.
Constant | Value | Description |
---|---|---|
SafeRenderer::QSafeStringException::StringException::TooLong | 0 | The string does not fit inside SafeRenderer::Constraints::MAX_LEN_OF_TEXT. |
SafeRenderer::QSafeStringException::StringException::IndexOutOfBounds | 1 | The requested index is out of the data bounds 0U <= index < SafeRenderer::Constraints::MAX_LEN_OF_TEXT |
Available under certain Qt licenses.
Find out more.