Qt
Internal/Contributor docs for the Qt SDK. <b>Note:</b> These are NOT official API docs; those are found <a href='https://doc.qt.io/'>here</a>.
|
#include <QtCore/qtconfigmacros.h>
#include <QtCore/qcompilerdetection.h>
#include <QtCore/qtcoreexports.h>
Go to the source code of this file.
Macros | |
#define | QT_TRY try |
#define | QT_CATCH(A) catch (A) |
#define | QT_THROW(A) throw A |
#define | QT_RETHROW throw |
#define | QT_TERMINATE_ON_EXCEPTION(expr) do { try { expr; } catch (...) { qTerminate(); } } while (false) |
Functions | |
QT_BEGIN_NAMESPACE Q_NORETURN Q_DECL_COLD_FUNCTION Q_CORE_EXPORT void | qTerminate () noexcept |
Definition at line 34 of file qexceptionhandling.h.
Referenced by QLayout::QLayout(), QObject::QObject(), QWidget::QWidget(), QWidget::QWidget(), QComboBox::~QComboBox(), QConfFileSettingsPrivate::~QConfFileSettingsPrivate(), QCoreApplication::~QCoreApplication(), QDialog::~QDialog(), QPainter::~QPainter(), QSettings::~QSettings(), QWidget::~QWidget(), QFontCache::cleanup(), QPixmapCache::clear(), QTextDocumentPrivate::clear(), QTcpServer::close(), QObject::disconnect(), QFreetypeFace::getFace(), QTextFormatCollection::indexForFormat(), QDomDocumentTypePrivate::init(), QClipData::initialize(), QtPrivate::q_uninitialized_remove_copy_if(), QCborStreamReaderPrivate::readStringChunk_byte(), QCborStreamReaderPrivate::readStringChunk_unicode(), QBuffer::seek(), QWindowsIntegration::setApplicationBadge(), and QSystemLocalePrivate::uiLanguages().
#define QT_RETHROW throw |
Definition at line 36 of file qexceptionhandling.h.
Referenced by QLayout::QLayout(), QObject::QObject(), QWidget::QWidget(), QWidget::QWidget(), QWidget::~QWidget(), QTextDocumentPrivate::clear(), QObject::disconnect(), QFreetypeFace::getFace(), QTextFormatCollection::indexForFormat(), QDomDocumentTypePrivate::init(), QClipData::initialize(), and QtPrivate::q_uninitialized_remove_copy_if().
#define QT_TERMINATE_ON_EXCEPTION | ( | expr | ) | do { try { expr; } catch (...) { qTerminate(); } } while (false) |
Definition at line 40 of file qexceptionhandling.h.
Referenced by QMessageLogger::fatal(), and QMessageLogger::fatal().
Definition at line 35 of file qexceptionhandling.h.
#define QT_TRY try |
Definition at line 33 of file qexceptionhandling.h.
Referenced by QLayout::QLayout(), QObject::QObject(), QWidget::QWidget(), QWidget::QWidget(), QComboBox::~QComboBox(), QConfFileSettingsPrivate::~QConfFileSettingsPrivate(), QCoreApplication::~QCoreApplication(), QDialog::~QDialog(), QPainter::~QPainter(), QSettings::~QSettings(), QWidget::~QWidget(), QFontCache::cleanup(), QPixmapCache::clear(), QTextDocumentPrivate::clear(), QTcpServer::close(), QObject::disconnect(), QFreetypeFace::getFace(), QTextFormatCollection::indexForFormat(), QDomDocumentTypePrivate::init(), QClipData::initialize(), QtPrivate::q_uninitialized_remove_copy_if(), QCborStreamReaderPrivate::readStringChunk_byte(), QCborStreamReaderPrivate::readStringChunk_unicode(), QBuffer::seek(), QWindowsIntegration::setApplicationBadge(), QSystemLocalePrivate::uiLanguages(), and QQmlJS::Dom::FileWriter::write().
|
noexcept |
Definition at line 15 of file qexceptionhandling.cpp.
Referenced by QTest::setFailed().