Version: 6.3.1
Public Member Functions | Protected Member Functions

SUIT_ExceptionHandler Class Reference

#include <SUIT_ExceptionHandler.h>

Inheritance diagram for SUIT_ExceptionHandler:
Inheritance graph

Public Member Functions

virtual bool handle (QObject *, QEvent *)

Protected Member Functions

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

Detailed Description

Show exception message on error handler.


Member Function Documentation

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::showMessage ( const QString &  title,
const QString &  msg 
) [protected]

Show error message mgs, if application is not null.

References SUIT_MessageBox.critical().

Copyright © 2007-2011 CEA/DEN, EDF R&D, OPEN CASCADE
Copyright © 2003-2007 OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN, CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS