qTbot 0.2.123.6f57966
qTbot is base back end library for your c++ Qt projects.
qTbot::InternalException Class Reference

The InternalException class contains a string value to describe what happened. More...

#include <internalexception.h>

Inheritance diagram for qTbot::InternalException:
Inheritance graph
Collaboration diagram for qTbot::InternalException:
Collaboration graph

Public Member Functions

 InternalException (const QByteArray &erroString={})
 InternalException constructs the exception with an error description.
const char * what () const noexcept override
 what Returns the text description of the error.
void raise () const override
 raise Raises the exception.
QException * clone () const override
 clone Creates a copy of the exception.

Detailed Description

The InternalException class contains a string value to describe what happened.

Definition at line 20 of file internalexception.h.

Constructor & Destructor Documentation

◆ InternalException()

qTbot::InternalException::InternalException ( const QByteArray & erroString = {})

InternalException constructs the exception with an error description.

Parameters
erroStringThis is the text description of the error.

Definition at line 12 of file internalexception.cpp.

Here is the caller graph for this function:

Member Function Documentation

◆ clone()

QException * qTbot::InternalException::clone ( ) const
override

clone Creates a copy of the exception.

Returns
a pointer to the new exception instance.

Definition at line 25 of file internalexception.cpp.

Here is the call graph for this function:

◆ raise()

void qTbot::InternalException::raise ( ) const
override

raise Raises the exception.

Definition at line 21 of file internalexception.cpp.

◆ what()

const char * qTbot::InternalException::what ( ) const
overridenoexcept

what Returns the text description of the error.

Returns
error description as a c string.

Definition at line 17 of file internalexception.cpp.


The documentation for this class was generated from the following files: