29#ifndef Utils_ExceptHandlers_HeaderFile
30#define Utils_ExceptHandlers_HeaderFile
43 { old = std::set_unexpected(
f); }
47 { old = ::set_unexpected(
f); }
58 { old = std::set_terminate(
f); }
62 { old = ::set_terminate(
f); }
67#define UNEXPECT_CATCH(FuncName, ExceptionConstructor) \
68inline void FuncName () {\
69 throw ExceptionConstructor (); \
#define UTILS_EXPORT
Definition: SALOME_Utils.hxx:37
void SALOME_SalomeException()
Definition: Utils_ExceptHandlers.cxx:132
void(* PVF)()
Definition: Utils_ExceptHandlers.hxx:36
void SalomeException()
Definition: Utils_ExceptHandlers.cxx:117
Definition: Utils_ExceptHandlers.hxx:52
Terminate(PVF f)
Definition: Utils_ExceptHandlers.hxx:57
~Terminate()
Definition: Utils_ExceptHandlers.hxx:59
PVF old
Definition: Utils_ExceptHandlers.hxx:54
Definition: Utils_ExceptHandlers.hxx:38
Unexpect(PVF f)
Definition: Utils_ExceptHandlers.hxx:42
PVF old
Definition: Utils_ExceptHandlers.hxx:39
~Unexpect()
Definition: Utils_ExceptHandlers.hxx:44
f
Definition: IDLparser.py:867