Go to the documentation of this file.
29#include <Standard_Failure.hxx>
30#include <Standard_ErrorHandler.hxx>
41#ifdef NO_CXX_EXCEPTION
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)))
55# define CASCatch_TRY try
56# define CASCatch_CATCH catch