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

FoundationClasses
TKernel
Standard


Standard_TypeMismatch Class Reference

#include <Standard_TypeMismatch.hxx>

Inheritance diagram for Standard_TypeMismatch:

Inheritance graph
[legend]

Public Member Functions

Standard_EXPORT Standard_TypeMismatch ()
Standard_EXPORT Standard_TypeMismatch (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 (Standard_TypeMismatch) 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 & Standard_TypeMismatch_Type_ ()

Constructor & Destructor Documentation

Standard_EXPORT Standard_TypeMismatch::Standard_TypeMismatch  )  [inline]
 

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


Member Function Documentation

Standard_EXPORT const Standard_TypeMismatch::Handle Standard_Type   )  const
 

Reimplemented from Standard_DomainError.

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

Reimplemented from Standard_DomainError.

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

Reimplemented from Standard_DomainError.

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

Reimplemented from Standard_DomainError.

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

Reimplemented from Standard_DomainError.


Friends And Related Function Documentation

Standard_EXPORT friend Handle_Standard_Type& Standard_TypeMismatch_Type_  )  [friend]
 


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