Qt 4.8
Public Functions | List of all members
QtConcurrent::UnhandledException Class Reference

The UnhandledException class represents an unhandled exception in a worker thread. More...

#include <qtconcurrentexception.h>

Inheritance diagram for QtConcurrent::UnhandledException:
QtConcurrent::Exception

Public Functions

Exceptionclone () const
 
void raise () const
 

Detailed Description

The UnhandledException class represents an unhandled exception in a worker thread.

Since
4.4

If a worker thread throws an exception that is not a subclass of QtConcurrent::Exception, the Qt Concurrent functions will throw a QtConcurrent::UnhandledException on the receiver thread side.

Inheriting from this class is not supported.

Definition at line 72 of file qtconcurrentexception.h.

Functions

◆ clone()

Exception * QtConcurrent::UnhandledException::clone ( ) const
virtual
Warning
This function is not part of the public interface.

Reimplemented from QtConcurrent::Exception.

Definition at line 145 of file qtconcurrentexception.cpp.

146 {
147  return new UnhandledException(*this);
148 }

◆ raise()

void QtConcurrent::UnhandledException::raise ( ) const
virtual
Warning
This function is not part of the public interface.

Reimplemented from QtConcurrent::Exception.

Definition at line 139 of file qtconcurrentexception.cpp.

140 {
141  UnhandledException e = *this;
142  throw e;
143 }

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