26 #ifndef CASCATCH_FAILURE_HXX
27 #define CASCATCH_FAILURE_HXX
29 #include <Basics_OCCTVersion.hxx>
31 #include <Standard_Transient.hxx>
32 #include <Standard_DefineHandle.hxx>
35 #include <Standard.hxx>
49 Standard_EXPORT
void Reraise(
const Standard_CString aMessage) ;
50 Standard_EXPORT Standard_CString
GetError()
const;
51 Standard_EXPORT
static Handle(CASCatch_Failure) Caught() ;
52 Standard_EXPORT
static void Raise(
const Standard_CString aMessage =
"") ;
53 Standard_EXPORT
virtual void Throw()
const;
public:
63 Standard_Character* myMessage;
68 #endif // CASCATCH_FAILURE_HXX