This class presents an exception to be thrown. More...
#include <CASCatch_Failure.hxx>
Public Member Functions | |
Standard_EXPORT | CASCatch_Failure () |
creates a CASCatch_Failure More... | |
Standard_EXPORT | CASCatch_Failure (const Standard_CString aString) |
creates a CASCatch_Failure with a message More... | |
Standard_EXPORT void | Reraise (const Standard_CString aMessage) |
re-raises a CASCatch_Failure exception More... | |
Standard_EXPORT Standard_CString | GetError () const |
returns an exception message More... | |
virtual Standard_EXPORT void | Throw () const |
Is called when using standard C++ exceptions. More... | |
Static Public Member Functions | |
static Standard_EXPORT | Handle (CASCatch_Failure) Caught() |
static Standard_EXPORT void | Raise (const Standard_CString aMessage="") |
raises a CASCatch_Failure exception More... | |
This class presents an exception to be thrown.
CASCatch_Failure::CASCatch_Failure | ( | ) |
creates a CASCatch_Failure
Public -
CASCatch_Failure::CASCatch_Failure | ( | const Standard_CString | AString | ) |
Standard_CString CASCatch_Failure::GetError | ( | ) | const |
returns an exception message
Public -
|
static |
|
static |
raises a CASCatch_Failure exception
Public -
an | exception message |
References CASCatch_Failure(), and Handle().
void CASCatch_Failure::Reraise | ( | const Standard_CString | AString | ) |
re-raises a CASCatch_Failure exception
Public -
an | exception message |
References CASCatch_ErrorHandler::Abort(), CASCatch_ErrorHandler::Error(), and Throw().
|
virtual |