C
QSafeException Class
class SafeRenderer::QSafeExceptionQSafeException 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
QSafeException::QSafeException(const SafeRenderer::qchar *const reasonArg)
Constructs a QSafeException with the provided reason.
reasonArg A pointer to a constant character string that describes the reason for the exception.
Initializes the exception with a reason for why it was thrown.
[virtual]
const SafeRenderer::qchar *QSafeException::what() const
Returns the reason for the exception.
Returns A pointer to a constant character string that provides information about why the exception was thrown.
Available under certain Qt licenses.
Find out more.