Raytrix Light Field SDK  4.0
Logo
Public Member Functions | Protected Attributes | List of all members
Rx::CRxOutOfMemoryException Class Reference

Detailed Description

Exception for signaling out of memory errors.

Inherits Rx::CRxException.

Public Member Functions

virtual const char * GetFile () const
 Gets the file name. More...
 
virtual const char * GetFunction () const
 Gets the function name. More...
 
virtual const CGuid30GetGUID () const
 Gets the unique identifier of this exception. This is not guaranteed to be the GUID of this exception type. More...
 
virtual const IException31 * GetInnerException () const
 Gets the inner exception if one is available. Otherwise nullptr is returned. More...
 
virtual int GetLine () const
 Gets the line. More...
 
virtual const char * GetMessageText () const
 Gets message text. More...
 
const IException31 * GetMostInnerException () const
 Gets the most inner exception. More...
 
virtual const char * GetName () const
 Gets the name of this exception. More...
 
template<class TException >
bool HasException () const
 Query if this exception or one of its inner exceptions contains an exception of the given type. More...
 
virtual bool HasException (const CGuid30 &xGUID) const
 Query if this exception or one of its inner exceptions contains an exception of the given GUID. More...
 
 RX_EXCEPTION_BASE_IMPLEMENTATION (CRxException,"Rx.RxException","{491260D2-0D75-4CCD-A2C5-46428B450B66}")
 
virtual void SetExceptionData ()
 Sets additional exception data. More...
 
void SetGUID (const CGuid30 &xGUID)
 Sets the GUID of this exception. This is not guaranteed to be the GUID of this exception type. More...
 
void SetInnerException (const IException31 &ex)
 Sets the given exception as the inner exception. More...
 
virtual CRxString ToString () const
 Convert this exception into a string representation. More...
 
CRxString ToString (bool bIncludeInner) const
 Convert this exception into a string representation. More...
 

Protected Attributes

CRxString m_sxMessage
 
CRxString m_sxName
 
CGuid30 m_xGUID
 
CExceptionSafePointer m_xInnerException
 
CCodeLocation m_xLocation
 

Member Function Documentation

virtual const char* Rx::CRxException::GetFile ( ) const
virtualinherited

Gets the file name.

Returns
The file name.
virtual const char* Rx::CRxException::GetFunction ( ) const
virtualinherited

Gets the function name.

Returns
The function name.
virtual const CGuid30& Rx::CRxException::GetGUID ( ) const
virtualinherited

Gets the unique identifier of this exception. This is not guaranteed to be the GUID of this exception type.

Returns
The unique identifier.
virtual const IException31* Rx::CRxException::GetInnerException ( ) const
virtualinherited

Gets the inner exception if one is available. Otherwise nullptr is returned.

Returns
The inner exception.
virtual int Rx::CRxException::GetLine ( ) const
virtualinherited

Gets the line.

Returns
The line number.
virtual const char* Rx::CRxException::GetMessageText ( ) const
virtualinherited

Gets message text.

Returns
Null if it fails, else the message text.
const IException31* Rx::CRxException::GetMostInnerException ( ) const
inherited

Gets the most inner exception.

Returns
The most inner exception. If there is no inner exception, this exception is returned.
virtual const char* Rx::CRxException::GetName ( ) const
virtualinherited

Gets the name of this exception.

Returns
The name of this exception.
template<class TException >
bool Rx::CRxException::HasException ( ) const
inlineinherited

Query if this exception or one of its inner exceptions contains an exception of the given type.

Template Parameters
TExceptionThe exception type to test for.
Returns
True if this exception or one of its inner exceptions contains an exception of the given type, false if not.
virtual bool Rx::CRxException::HasException ( const CGuid30 xGUID) const
virtualinherited

Query if this exception or one of its inner exceptions contains an exception of 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 contains an exception of the given GUID, false if not.
Rx::CRxException::RX_EXCEPTION_BASE_IMPLEMENTATION ( CRxException  ,
"Rx.RxException"  ,
"{491260D2-0D75-4CCD-A2C5-46428B450B66}"   
)
inherited
virtual void Rx::CRxException::SetExceptionData ( )
virtualinherited

Sets additional exception data.

void Rx::CRxException::SetGUID ( const CGuid30 xGUID)
inlineinherited

Sets the GUID of this exception. This is not guaranteed to be the GUID of this exception type.

Parameters
xGUIDUnique identifier.
void Rx::CRxException::SetInnerException ( const IException31 &  ex)
inlineinherited

Sets the given exception as the inner exception.

Parameters
exThe exception.
virtual CRxString Rx::CRxException::ToString ( ) const
virtualinherited

Convert this exception into a string representation.

Returns
This exception as a string.
CRxString Rx::CRxException::ToString ( bool  bIncludeInner) const
inherited

Convert this exception into a string representation.

Parameters
bIncludeInnerTrue to include all inner exceptions.
Returns
This exception as a string.

Member Data Documentation

CRxString Rx::CRxException::m_sxMessage
protectedinherited
CRxString Rx::CRxException::m_sxName
protectedinherited
CGuid30 Rx::CRxException::m_xGUID
protectedinherited
CExceptionSafePointer Rx::CRxException::m_xInnerException
protectedinherited
CCodeLocation Rx::CRxException::m_xLocation
protectedinherited