Namespace: Rx – Class: CRxException – Header: Rx.Core/RxException.h

CRxException Class

C++
#include "Rx.Core/RxException.h"
class CRxException : public IException31

Raytrix exception base class. All exceptions are based on this class.

Constructors

CRxException(sxMsg, pcFile, pcFunc, iLine)

Constructor.

CRxException(sxMsg, pcFile, pcFunc, iLine, ex)

Constructor.

Destructor

~CRxException()

Virtual destructor.

Methods

Clone()

Makes a deep copy of this object.

SetGUID(xGUID)

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

SetInnerException(ex)

Sets the given exception as the inner exception.

SetExceptionData()

Sets additional exception data.

ToString()

Convert this exception into a string representation.

ToString(bIncludeInner)

Convert this exception into a string representation.

GetMostInnerException()

Gets the most inner exception.

GetMessageText()

Gets message text.

GetGUID()

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

GetName()

Gets the name of this exception.

GetFunction()

Gets the function name.

GetFile()

Gets the file name.

GetLine()

Gets the line.

GetInnerException()

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

HasException()

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

HasException(xGUID)

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

Static Methods

CreateFirst(sxMsg, pcFile, pcFunc, iLine, args)
Create(sxMsg, pcFile, pcFunc, iLine, ex, args)
GetTypeGUID()
GetTypeName()