Version: 9.12.0
CASCatch_Failure Class Reference

This class presents an exception to be thrown. More...

#include <CASCatch_Failure.hxx>

Inheritance diagram for CASCatch_Failure:
Inheritance graph

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...
 

Detailed Description

This class presents an exception to be thrown.

Constructor & Destructor Documentation

◆ CASCatch_Failure() [1/2]

CASCatch_Failure::CASCatch_Failure ( )

creates a CASCatch_Failure

Public -

◆ CASCatch_Failure() [2/2]

CASCatch_Failure::CASCatch_Failure ( const Standard_CString  AString)

creates a CASCatch_Failure with a message

Public -

Parameters
anexception message

Member Function Documentation

◆ GetError()

Standard_CString CASCatch_Failure::GetError ( ) const

returns an exception message

Public -

◆ Handle()

static Standard_EXPORT CASCatch_Failure::Handle ( CASCatch_Failure  )
static

◆ Raise()

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

raises a CASCatch_Failure exception

Public -

Parameters
anexception message

References CASCatch_Failure(), and Handle().

◆ Reraise()

void CASCatch_Failure::Reraise ( const Standard_CString  AString)

re-raises a CASCatch_Failure exception

Public -

Parameters
anexception message

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

◆ Throw()

void CASCatch_Failure::Throw ( ) const
virtual

Is called when using standard C++ exceptions.

Public -

References CASCatch_Failure().


The documentation for this class was generated from the following files: