Raytrix Light Field SDK  4.0
Logo
Public Member Functions | Protected Member Functions | List of all members
Rx::Interop::Runtime30::CIException Class Referenceabstract

Detailed Description

Interface for basic exception.

Public Member Functions

 CIException ()
 Default constructor. More...
 
 CIException (Interop::Runtime30::CIException &xEx)
 copy Constructor. More...
 
virtual ~CIException ()
 Destructor. More...
 
void CopyToHeap (CIException **ppTarget)
 Copy this exception to given target Destination. More...
 
virtual const char * GetFile () const =0
 Gets the file name. More...
 
virtual const char * GetFunction () const =0
 Gets the function name. More...
 
virtual const Interop::Runtime30::CGuidGetGUID () const =0
 Gets the unique identifier of the type of this exception. More...
 
CIExceptionGetInnerException () const
 Gets the inner exception. More...
 
virtual unsigned GetLine () const =0
 Gets the line. More...
 
virtual const char * GetMessageText () const =0
 Gets the information string. More...
 
virtual const char * GetName () const =0
 Gets the name of this exception. More...
 
virtual bool HasException (const Interop::Runtime30::CGuid &xGUID) const =0
 Query if this exception or one of its inner exceptions has the given GUID. More...
 
virtual const char * ToString () const =0
 Convert this CRxExceptionEx into a string representation. More...
 

Protected Member Functions

virtual CIExceptionCopy ()=0
 Copies this exception. This has to be implemented in each exception type. More...
 
void SetInnerException (CIException &xEx)
 Sets an inner exception. Frees currently assigned inner exception. More...
 
CIExceptionYieldInnerException ()
 Returns the inner exception and yields responsibility. More...
 

Constructor & Destructor Documentation

Rx::Interop::Runtime30::CIException::CIException ( )

Default constructor.

Rx::Interop::Runtime30::CIException::CIException ( Interop::Runtime30::CIException xEx)

copy Constructor.

Parameters
xEx[in] The exception to copy.
virtual Rx::Interop::Runtime30::CIException::~CIException ( )
virtual

Destructor.

Member Function Documentation

virtual CIException* Rx::Interop::Runtime30::CIException::Copy ( )
protectedpure virtual

Copies this exception. This has to be implemented in each exception type.

Returns
A copy of this exception.
void Rx::Interop::Runtime30::CIException::CopyToHeap ( CIException **  ppTarget)

Copy this exception to given target Destination.

Parameters
ppTarget[in,out] If non-null, target for the.
virtual const char* Rx::Interop::Runtime30::CIException::GetFile ( ) const
pure virtual

Gets the file name.

Returns
The file name.
virtual const char* Rx::Interop::Runtime30::CIException::GetFunction ( ) const
pure virtual

Gets the function name.

Returns
The function name.
virtual const Interop::Runtime30::CGuid& Rx::Interop::Runtime30::CIException::GetGUID ( ) const
pure virtual

Gets the unique identifier of the type of this exception.

Returns
The type unique identifier.
CIException* Rx::Interop::Runtime30::CIException::GetInnerException ( ) const

Gets the inner exception.

Returns
Null if there is no inner exception, else the inner exception.
virtual unsigned Rx::Interop::Runtime30::CIException::GetLine ( ) const
pure virtual

Gets the line.

Returns
The line number.
virtual const char* Rx::Interop::Runtime30::CIException::GetMessageText ( ) const
pure virtual

Gets the information string.

Returns
The information string.
virtual const char* Rx::Interop::Runtime30::CIException::GetName ( ) const
pure virtual

Gets the name of this exception.

Returns
The name of this exception.
virtual bool Rx::Interop::Runtime30::CIException::HasException ( const Interop::Runtime30::CGuid xGUID) const
pure virtual

Query if this exception or one of its inner exceptions has the given GUID.

Parameters
xGUID[in] The GUID of the exception to look for.
Returns
True if this exception or one of its inner exceptions has the given GUID, false if not.
void Rx::Interop::Runtime30::CIException::SetInnerException ( CIException xEx)
protected

Sets an inner exception. Frees currently assigned inner exception.

Parameters
xEx[in] The inner exception.
virtual const char* Rx::Interop::Runtime30::CIException::ToString ( ) const
pure virtual

Convert this CRxExceptionEx into a string representation.

Returns
This CRxExceptionEx as a string.
CIException* Rx::Interop::Runtime30::CIException::YieldInnerException ( )
protected

Returns the inner exception and yields responsibility.

Returns
The inner exception.