Exception for signaling operating system 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 CGuid30 & | GetGUID () 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... | |
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}") | |
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 &xEx) |
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 |
|
virtualinherited |
Gets the file name.
|
virtualinherited |
Gets the function name.
|
virtualinherited |
Gets the unique identifier of this exception. This is not guaranteed to be the GUID of this exception type.
|
virtualinherited |
Gets the inner exception if one is available. Otherwise nullptr is returned.
|
virtualinherited |
Gets the line.
|
virtualinherited |
Gets message text.
|
virtualinherited |
Gets the name of this exception.
|
inlineinherited |
Query if this exception or one of its inner exceptions contains an exception of the given type.
TException | The exception type to test for. |
|
virtualinherited |
Query if this exception or one of its inner exceptions contains an exception of the given GUID.
xGUID | [in] The GUID of the exception to look for. |
|
inherited |
|
inlineinherited |
Sets the GUID of this exception. This is not guaranteed to be the GUID of this exception type.
xGUID | Unique identifier. |
|
inlineinherited |
Sets the given exception as the inner exception.
xEx | The exception. |
|
virtualinherited |
Convert this exception into a string representation.
|
inherited |
Convert this exception into a string representation.
bIncludeInner | True to include all inner exceptions. |
|
protectedinherited |
|
protectedinherited |
|
protectedinherited |
|
protectedinherited |
|
protectedinherited |