Raytrix Light Field SDK  5.0
Rx::CRxCalibrationDatabaseMissingException Class Referenceabstract

Detailed Description

Exception for signaling a missing calibration database.

Inherits Rx::CRxException.

Public Member Functions

virtual IException * Clone () const =0
 Makes a deep copy of this object. More...
 
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 IException31GetInnerException () 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 IException31GetMostInnerException () 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

◆ Clone()

virtual IException* Rx::Interop::Runtime31::IException::Clone ( ) const
pure virtualinherited

Makes a deep copy of this object.

Returns
Null if it fails, else a copy of this object.

◆ GetFile()

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

Gets the file name.

Returns
The file name.

Implements Rx::Interop::Runtime31::IException.

◆ GetFunction()

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

Gets the function name.

Returns
The function name.

Implements Rx::Interop::Runtime31::IException.

◆ GetGUID()

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.

Implements Rx::Interop::Runtime31::IException.

◆ GetInnerException()

virtual const IException31* Rx::CRxException::GetInnerException ( ) const
virtualinherited

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

Returns
The inner exception.

Implements Rx::Interop::Runtime31::IException.

◆ GetLine()

virtual int Rx::CRxException::GetLine ( ) const
virtualinherited

Gets the line.

Returns
The line number.

Implements Rx::Interop::Runtime31::IException.

◆ GetMessageText()

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

Gets message text.

Returns
Null if it fails, else the message text.

Implements Rx::Interop::Runtime31::IException.

◆ GetMostInnerException()

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.

◆ GetName()

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

Gets the name of this exception.

Returns
The name of this exception.

Implements Rx::Interop::Runtime31::IException.

◆ HasException() [1/2]

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.

◆ HasException() [2/2]

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.

Implements Rx::Interop::Runtime31::IException.

◆ RX_EXCEPTION_BASE_IMPLEMENTATION()

Rx::CRxException::RX_EXCEPTION_BASE_IMPLEMENTATION ( CRxException  ,
"Rx.RxException"  ,
"{491260D2-0D75-4CCD-A2C5-46428B450B66}"   
)
inherited

◆ SetExceptionData()

virtual void Rx::CRxException::SetExceptionData ( )
virtualinherited

Sets additional exception data.

◆ SetGUID()

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.

◆ SetInnerException()

void Rx::CRxException::SetInnerException ( const IException31 ex)
inlineinherited

Sets the given exception as the inner exception.

Parameters
exThe exception.

◆ ToString() [1/2]

virtual CRxString Rx::CRxException::ToString ( ) const
virtualinherited

Convert this exception into a string representation.

Returns
This exception as a string.

◆ ToString() [2/2]

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

◆ m_sxMessage

CRxString Rx::CRxException::m_sxMessage
protectedinherited

◆ m_sxName

CRxString Rx::CRxException::m_sxName
protectedinherited

◆ m_xGUID

CGuid30 Rx::CRxException::m_xGUID
protectedinherited

◆ m_xInnerException

CExceptionSafePointer Rx::CRxException::m_xInnerException
protectedinherited

◆ m_xLocation

CCodeLocation Rx::CRxException::m_xLocation
protectedinherited