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::CGuid & | GetGUID () const =0 |
Gets the unique identifier of the type of this exception. More... | |
CIException * | GetInnerException () 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 CIException * | Copy ()=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... | |
CIException * | YieldInnerException () |
Returns the inner exception and yields responsibility. More... | |
Rx::Interop::Runtime30::CIException::CIException | ( | ) |
Default constructor.
Rx::Interop::Runtime30::CIException::CIException | ( | Interop::Runtime30::CIException & | xEx | ) |
copy Constructor.
xEx | [in] The exception to copy. |
|
virtual |
Destructor.
|
protectedpure virtual |
Copies this exception. This has to be implemented in each exception type.
void Rx::Interop::Runtime30::CIException::CopyToHeap | ( | CIException ** | ppTarget | ) |
Copy this exception to given target Destination.
ppTarget | [in,out] If non-null, target for the. |
|
pure virtual |
Gets the file name.
|
pure virtual |
Gets the function name.
|
pure virtual |
Gets the unique identifier of the type of this exception.
CIException* Rx::Interop::Runtime30::CIException::GetInnerException | ( | ) | const |
Gets the inner exception.
|
pure virtual |
Gets the line.
|
pure virtual |
Gets the information string.
|
pure virtual |
Gets the name of this exception.
|
pure virtual |
Query if this exception or one of its inner exceptions has the given GUID.
xGUID | [in] The GUID of the exception to look for. |
|
protected |
Sets an inner exception. Frees currently assigned inner exception.
xEx | [in] The inner exception. |
|
pure virtual |
Convert this CRxExceptionEx into a string representation.
|
protected |
Returns the inner exception and yields responsibility.