|
Open CASCADE Technology 6.5.2
|
#include <Standard_ErrorHandler.hxx>
Public Member Functions | |
| void * | operator new (size_t, void *anAddress) |
| void * | operator new (size_t size) |
| void | operator delete (void *anAddress) |
| Standard_ErrorHandler () | |
| Create a ErrorHandler (to be used with try{}catch(){}). It uses the "setjmp" and "longjmp" routines. | |
| void | Destroy () |
| Unlinks and checks if there is a raised exception. | |
| ~Standard_ErrorHandler () | |
| void | Unlink () |
| Removes handler from the handlers list | |
| Standard_Boolean | Catches (const Handle< Standard_Type > &aType) |
| Returns "True" if the caught exception has the same type or inherits from "aType" | |
| Standard_JmpBuf & | Label () |
| Returns label for jump | |
| Handle_Standard_Failure | Error () const |
| Returns the current Error. | |
Static Public Member Functions | |
| static Handle_Standard_Failure | LastCaughtError () |
| Returns the caught exception. | |
| static Standard_Boolean | IsInTryBlock () |
| Test if the code is currently running in a try block | |
| Standard_ErrorHandler::Standard_ErrorHandler | ( | ) |
| Standard_ErrorHandler::~Standard_ErrorHandler | ( | ) | [inline] |
| Standard_Boolean Standard_ErrorHandler::Catches | ( | const Handle< Standard_Type > & | aType | ) |
| void Standard_ErrorHandler::Destroy | ( | ) |
| Handle_Standard_Failure Standard_ErrorHandler::Error | ( | ) | const |
| static Standard_Boolean Standard_ErrorHandler::IsInTryBlock | ( | ) | [static] |
| Standard_JmpBuf& Standard_ErrorHandler::Label | ( | ) |
| static Handle_Standard_Failure Standard_ErrorHandler::LastCaughtError | ( | ) | [static] |
| void Standard_ErrorHandler::operator delete | ( | void * | anAddress | ) | [inline] |
| void* Standard_ErrorHandler::operator new | ( | size_t | size | ) | [inline] |
| void* Standard_ErrorHandler::operator new | ( | size_t | , |
| void * | anAddress | ||
| ) | [inline] |
| void Standard_ErrorHandler::Unlink | ( | ) |
1.7.4