Qt
Internal/Contributor docs for the Qt SDK. Note: These are NOT official API docs; those are found at https://doc.qt.io/
Loading...
Searching...
No Matches
FirstMyException::MyException Class Reference

[0] More...

Inheritance diagram for FirstMyException::MyException:
Collaboration diagram for FirstMyException::MyException:

Public Member Functions

void raise () const override
 In your QException subclass, reimplement raise() like this:
MyExceptionclone () const override
 In your QException subclass, reimplement clone() like this:
void raise () const override
 In your QException subclass, reimplement raise() like this:
MyExceptionclone () const override
 In your QException subclass, reimplement clone() like this:
Public Member Functions inherited from QException
 QException ()=default
 Constructs a QException object.
 ~QException () noexcept
 Destroys this QException object.
 QException (const QException &)=default
 Creates a copy of other.
QExceptionoperator= (const QException &)=default
 Copy-assigns other over this object.

Detailed Description

[0]

Definition at line 10 of file src_corelib_thread_qexception.cpp.

Member Function Documentation

◆ clone() [1/2]

MyException * FirstMyException::MyException::clone ( ) const
inlineoverridevirtual

In your QException subclass, reimplement clone() like this:

MyException *MyException::clone() const { return new MyException(*this); }

Reimplemented from QException.

Definition at line 14 of file src_corelib_thread_qexception.cpp.

◆ clone() [2/2]

MyException * FirstMyException::MyException::clone ( ) const
inlineoverridevirtual

In your QException subclass, reimplement clone() like this:

MyException *MyException::clone() const { return new MyException(*this); }

Reimplemented from QException.

Definition at line 14 of file src_corelib_thread_qexception.cpp.

◆ raise() [1/2]

void FirstMyException::MyException::raise ( ) const
inlineoverridevirtual

In your QException subclass, reimplement raise() like this:

void MyException::raise() const { throw *this; }

Reimplemented from QException.

Definition at line 13 of file src_corelib_thread_qexception.cpp.

◆ raise() [2/2]

void FirstMyException::MyException::raise ( ) const
inlineoverridevirtual

In your QException subclass, reimplement raise() like this:

void MyException::raise() const { throw *this; }

Reimplemented from QException.

Definition at line 13 of file src_corelib_thread_qexception.cpp.


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