Go to the documentation of this file.
   29 #include <Standard_Failure.hxx> 
   30 #include <Standard_ErrorHandler.hxx> 
   41 #ifdef NO_CXX_EXCEPTION 
   42 #  if defined(DO_ABORT) 
   43 #    define CASCatch_TRY \ 
   44        Standard_ErrorHandler _Function; \ 
   46        if(DoesNotAbort(_Function)) 
   48 #     define CASCatch_TRY \ 
   49         Standard_ErrorHandler _Function; \ 
   50         if(DoesNotAbort(_Function)) 
   52 #   define CASCatch_CATCH(Error)   \ 
   53       else if(_Function.Catches(STANDARD_TYPE(Error))) 
   54 #else  // ! NO_CXX_EXCEPTION 
   55 #  define CASCatch_TRY try 
   56 #  define CASCatch_CATCH catch 
   57 #endif // NO_CXX_EXCEPTION 
   60 #endif // CASCATCH_HXX