OCC Main Page | FoundationClasses | Toolkits | Packages | Class Hierarchy | Data Structures | File List | Data Fields | Globals

FoundationClasses
TKernel
OSD


OSD_Exception Class Reference

#include <OSD_Exception.hxx>

Inheritance diagram for OSD_Exception:

Inheritance graph
[legend]

Public Member Functions

Standard_EXPORT OSD_Exception ()
Standard_EXPORT OSD_Exception (const Standard_CString AString)
Standard_EXPORT const Handle (Standard_Type)&DynamicType() const

Static Public Member Functions

static Standard_EXPORT void Raise (const Standard_CString aMessage="")
 Raises an exception of type "Failure" and associates
an error message to it. The message can be printed
in an exception handler.
.
static Standard_EXPORT void Raise (Standard_SStream &aReason)
 Raises an exception of type "Failure" and associates
an error message to it. The message can be constructed
at run-time.
.
static Standard_EXPORT Handle (OSD_Exception) NewInstance(const Standard_CString aMessage)

Private Member Functions

virtual Standard_EXPORT void Throw () const
 Used only if standard C++ exceptions are used.
Throws exception of the same type as this by C++ throw,
and stores current object as last thrown exception,
to be accessible by method Caught()
.

Friends

Standard_EXPORT friend Handle_Standard_Type & OSD_Exception_Type_ ()

Constructor & Destructor Documentation

Standard_EXPORT OSD_Exception::OSD_Exception  )  [inline]
 

Standard_EXPORT OSD_Exception::OSD_Exception const Standard_CString  AString  )  [inline]
 


Member Function Documentation

Standard_EXPORT const OSD_Exception::Handle Standard_Type   )  const
 

Reimplemented from Standard_Failure.

Reimplemented in OSD_Exception_ACCESS_VIOLATION, OSD_Exception_ARRAY_BOUNDS_EXCEEDED, OSD_Exception_CTRL_BREAK, OSD_Exception_FLT_DENORMAL_OPERAND, OSD_Exception_FLT_DIVIDE_BY_ZERO, OSD_Exception_FLT_INEXACT_RESULT, OSD_Exception_FLT_INVALID_OPERATION, OSD_Exception_FLT_OVERFLOW, OSD_Exception_FLT_STACK_CHECK, OSD_Exception_FLT_UNDERFLOW, OSD_Exception_ILLEGAL_INSTRUCTION, OSD_Exception_IN_PAGE_ERROR, OSD_Exception_INT_DIVIDE_BY_ZERO, OSD_Exception_INT_OVERFLOW, OSD_Exception_INVALID_DISPOSITION, OSD_Exception_NONCONTINUABLE_EXCEPTION, OSD_Exception_PRIV_INSTRUCTION, OSD_Exception_STACK_OVERFLOW, and OSD_Exception_STATUS_NO_MEMORY.

static Standard_EXPORT OSD_Exception::Handle OSD_Exception   )  const [static]
 

Reimplemented in OSD_Exception_ACCESS_VIOLATION, OSD_Exception_ARRAY_BOUNDS_EXCEEDED, OSD_Exception_CTRL_BREAK, OSD_Exception_FLT_DENORMAL_OPERAND, OSD_Exception_FLT_DIVIDE_BY_ZERO, OSD_Exception_FLT_INEXACT_RESULT, OSD_Exception_FLT_INVALID_OPERATION, OSD_Exception_FLT_OVERFLOW, OSD_Exception_FLT_STACK_CHECK, OSD_Exception_FLT_UNDERFLOW, OSD_Exception_ILLEGAL_INSTRUCTION, OSD_Exception_IN_PAGE_ERROR, OSD_Exception_INT_DIVIDE_BY_ZERO, OSD_Exception_INT_OVERFLOW, OSD_Exception_INVALID_DISPOSITION, OSD_Exception_NONCONTINUABLE_EXCEPTION, OSD_Exception_PRIV_INSTRUCTION, OSD_Exception_STACK_OVERFLOW, and OSD_Exception_STATUS_NO_MEMORY.

static Standard_EXPORT void OSD_Exception::Raise Standard_SStream aReason  )  [static]
 

Reimplemented from Standard_Failure.

Reimplemented in OSD_Exception_ACCESS_VIOLATION, OSD_Exception_ARRAY_BOUNDS_EXCEEDED, OSD_Exception_CTRL_BREAK, OSD_Exception_FLT_DENORMAL_OPERAND, OSD_Exception_FLT_DIVIDE_BY_ZERO, OSD_Exception_FLT_INEXACT_RESULT, OSD_Exception_FLT_INVALID_OPERATION, OSD_Exception_FLT_OVERFLOW, OSD_Exception_FLT_STACK_CHECK, OSD_Exception_FLT_UNDERFLOW, OSD_Exception_ILLEGAL_INSTRUCTION, OSD_Exception_IN_PAGE_ERROR, OSD_Exception_INT_DIVIDE_BY_ZERO, OSD_Exception_INT_OVERFLOW, OSD_Exception_INVALID_DISPOSITION, OSD_Exception_NONCONTINUABLE_EXCEPTION, OSD_Exception_PRIV_INSTRUCTION, OSD_Exception_STACK_OVERFLOW, and OSD_Exception_STATUS_NO_MEMORY.

static Standard_EXPORT void OSD_Exception::Raise const Standard_CString  aMessage = ""  )  [static]
 

Reimplemented from Standard_Failure.

Reimplemented in OSD_Exception_ACCESS_VIOLATION, OSD_Exception_ARRAY_BOUNDS_EXCEEDED, OSD_Exception_CTRL_BREAK, OSD_Exception_FLT_DENORMAL_OPERAND, OSD_Exception_FLT_DIVIDE_BY_ZERO, OSD_Exception_FLT_INEXACT_RESULT, OSD_Exception_FLT_INVALID_OPERATION, OSD_Exception_FLT_OVERFLOW, OSD_Exception_FLT_STACK_CHECK, OSD_Exception_FLT_UNDERFLOW, OSD_Exception_ILLEGAL_INSTRUCTION, OSD_Exception_IN_PAGE_ERROR, OSD_Exception_INT_DIVIDE_BY_ZERO, OSD_Exception_INT_OVERFLOW, OSD_Exception_INVALID_DISPOSITION, OSD_Exception_NONCONTINUABLE_EXCEPTION, OSD_Exception_PRIV_INSTRUCTION, OSD_Exception_STACK_OVERFLOW, and OSD_Exception_STATUS_NO_MEMORY.

virtual Standard_EXPORT void OSD_Exception::Throw  )  const [private, virtual]
 

Reimplemented from Standard_Failure.

Reimplemented in OSD_Exception_ACCESS_VIOLATION, OSD_Exception_ARRAY_BOUNDS_EXCEEDED, OSD_Exception_CTRL_BREAK, OSD_Exception_FLT_DENORMAL_OPERAND, OSD_Exception_FLT_DIVIDE_BY_ZERO, OSD_Exception_FLT_INEXACT_RESULT, OSD_Exception_FLT_INVALID_OPERATION, OSD_Exception_FLT_OVERFLOW, OSD_Exception_FLT_STACK_CHECK, OSD_Exception_FLT_UNDERFLOW, OSD_Exception_ILLEGAL_INSTRUCTION, OSD_Exception_IN_PAGE_ERROR, OSD_Exception_INT_DIVIDE_BY_ZERO, OSD_Exception_INT_OVERFLOW, OSD_Exception_INVALID_DISPOSITION, OSD_Exception_NONCONTINUABLE_EXCEPTION, OSD_Exception_PRIV_INSTRUCTION, OSD_Exception_STACK_OVERFLOW, and OSD_Exception_STATUS_NO_MEMORY.


Friends And Related Function Documentation

Standard_EXPORT friend Handle_Standard_Type& OSD_Exception_Type_  )  [friend]
 


The documentation for this class was generated from the following file:
Generated on Mon Aug 25 13:13:04 2008 for OpenCASCADE by  doxygen 1.4.1