Version: 9.16.0
SMESH_TryCatch.hxx File Reference
#include "SMESH_Comment.hxx"
#include "SMESH_ComputeError.hxx"
#include "SMESH_Utils.hxx"
#include <Utils_SALOME_Exception.hxx>
#include <Standard_Failure.hxx>
#include <Standard_ErrorHandler.hxx>
#include <utilities.h>
Include dependency graph for SMESH_TryCatch.hxx:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Namespaces

namespace  SMESH
 

Macros

#define OCC_CATCH_SIGNALS
 
#define SMESH_TRY
 
#define SMY_OWN_CATCH
 
#define SMESH_CAUGHT
 
#define SMESH_CATCH(onExceptionFun)
 

Functions

void SMESH::throwSalomeEx (const char *txt)
 
void SMESH::doNothing (const char *txt)
 
const char * SMESH::returnError (const char *txt)
 
void SMESH::printErrorInDebugMode (const char *txt)
 

Macro Definition Documentation

◆ OCC_CATCH_SIGNALS

#define OCC_CATCH_SIGNALS

◆ SMESH_CATCH

#define SMESH_CATCH (   onExceptionFun)

◆ SMESH_CAUGHT

#define SMESH_CAUGHT

◆ SMESH_TRY

#define SMESH_TRY
Value:
try { \
OCC_CATCH_SIGNALS \

◆ SMY_OWN_CATCH

#define SMY_OWN_CATCH