Version: 8.3.0
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
SUIT_ExceptionHandler Class Reference

#include <SUIT_ExceptionHandler.h>

Inheritance diagram for SUIT_ExceptionHandler:
Inheritance graph

Public Member Functions

virtual bool handle (QObject *, QEvent *)
 

Static Public Member Functions

static void addCleanUpRoutine (CleanUpFunction p)
 
static void removeCleanUpRoutine (CleanUpFunction p)
 

Protected Member Functions

bool internalHandle (QObject *, QEvent *)
 
void showMessage (const QString &, const QString &)
 

Private Member Functions

void cleanUp ()
 

Static Private Attributes

static CleanUpFuncList myCleanUpFunctions
 

Detailed Description

Show exception message on error handler.

Member Function Documentation

void SUIT_ExceptionHandler::addCleanUpRoutine ( CleanUpFunction  p)
static

References myCleanUpFunctions.

void SUIT_ExceptionHandler::cleanUp ( )
private

References myCleanUpFunctions.

bool SUIT_ExceptionHandler::handle ( QObject o,
QEvent e 
)
virtual

Checks: is internal handle on object o?

Reimplemented in SalomeApp_ExceptionHandler.

References internalHandle().

bool SUIT_ExceptionHandler::internalHandle ( QObject o,
QEvent e 
)
protected

Checks: is internal handle on object o?

void SUIT_ExceptionHandler::removeCleanUpRoutine ( CleanUpFunction  p)
static

References myCleanUpFunctions.

void SUIT_ExceptionHandler::showMessage ( const QString &  title,
const QString &  msg 
)
protected

Show error message mgs, if application is not null.

References cleanUp(), and SUIT_MessageBox::critical().

Member Data Documentation

CleanUpFuncList SUIT_ExceptionHandler::myCleanUpFunctions
staticprivate

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