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

FoundationClasses
TKernel
Standard


Standard_RangeError Class Reference

#include <Standard_RangeError.hxx>

Inheritance diagram for Standard_RangeError:

Inheritance graph
[legend]

Public Member Functions

Standard_EXPORT Standard_RangeError ()
Standard_EXPORT Standard_RangeError (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_RangeError) 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_RangeError_Type_ ()

Constructor & Destructor Documentation

Standard_EXPORT Standard_RangeError::Standard_RangeError  )  [inline]
 

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


Member Function Documentation

Standard_EXPORT const Standard_RangeError::Handle Standard_Type   )  const
 

Reimplemented from Standard_DomainError.

Reimplemented in Standard_NegativeValue, Standard_NullValue, and Standard_OutOfRange.

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

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

Reimplemented from Standard_DomainError.

Reimplemented in Standard_NegativeValue, Standard_NullValue, and Standard_OutOfRange.

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

Reimplemented from Standard_DomainError.

Reimplemented in Standard_NegativeValue, Standard_NullValue, and Standard_OutOfRange.

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

Reimplemented from Standard_DomainError.

Reimplemented in Standard_NegativeValue, Standard_NullValue, and Standard_OutOfRange.


Friends And Related Function Documentation

Standard_EXPORT friend Handle_Standard_Type& Standard_RangeError_Type_  )  [friend]
 


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