C

SafeRenderer::QSafeException Class

class SafeRenderer::QSafeException

QSafeException is the base class for saferenderer's exceptions. More...

Public Functions

QSafeException(const SafeRenderer::qchar *const reasonArg)
virtual const SafeRenderer::qchar *what() const

Detailed Description

All exceptions in saferender runtime inherit this exception base class. Pointer to a string containing the reason for exception is stored in this class. Throwing class has ownership of the reason string buffer.

Member Function Documentation

[explicit noexcept] QSafeException::QSafeException(const SafeRenderer::qchar *const reasonArg)

Creates a QSafeException instance with given reason reasonArg.

[virtual] const SafeRenderer::qchar *QSafeException::what() const

Returns the reason for this exception.

Available under certain Qt licenses.
Find out more.