Version: 8.3.0
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
CASCatch_Failure.hxx File Reference
#include <Basics_OCCTVersion.hxx>
#include <Standard_Transient.hxx>
#include <Standard_DefineHandle.hxx>
#include <Standard.hxx>

Go to the source code of this file.

Functions

class CASCatch_Failure
Standard_EXPORT 
CASCatch_Failure (const Standard_CString aString)
 
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...
 
static Standard_EXPORT Handle (CASCatch_Failure) Caught()
 returns the last caught exception More...
 
static Standard_EXPORT void Raise (const Standard_CString aMessage="")
 raises a CASCatch_Failure exception More...
 
virtual Standard_EXPORT void Throw () const
 Is called when using standard C++ exceptions. More...
 

Function Documentation

class CASCatch_Failure Standard_EXPORT CASCatch_Failure ( const Standard_CString  aString)
Standard_CString CASCatch_Failure::GetError ( ) const

Public -

static Standard_EXPORT Handle ( CASCatch_Failure  )
static

Public -

void CASCatch_Failure::Raise ( const Standard_CString  AString = "")
static

Public -

Parameters
anexception message

References CASCatch_Failure(), and Handle().

void CASCatch_Failure::Reraise ( const Standard_CString  AString)

Public -

Parameters
anexception message

References CASCatch_ErrorHandler::Abort(), CASCatch_ErrorHandler::Error(), and Throw().

void CASCatch_Failure::Throw ( ) const
virtual

Public -

References CASCatch_Failure().