OSRTLException Class Reference
The base exception class for the C++ run-time. More...
#include <rtxCppException.h>
Inheritance diagram for OSRTLException:
![](classOSRTLException.png)
Public Member Functions | |
OSRTLException (int stat) | |
This constructor sets the status member variable value. | |
OSRTLException (OSRTContext *pContext, int stat) | |
This constructor sets the status member variable value. | |
OSRTLException (const OSRTLException &o) | |
This is a copy constructor. | |
~OSRTLException () | |
The virtual destructor does nothing. | |
int | getStatus () const |
The getStatus method returns the runtime status code value. | |
void | printErrorInfo () |
Prints error information, if context is set. | |
Protected Member Functions | |
OSRTLException () | |
Protected Attributes | |
OSRTCtxtPtr | mpContext |
int | mStatus |
The mStatus member variable holds the status value which caused the exception to be thrown. |
Detailed Description
The base exception class for the C++ run-time.
Definition at line 88 of file rtxCppException.h.
Constructor & Destructor Documentation
OSRTLException::OSRTLException | ( | int | stat | ) | [inline] |
This constructor sets the status member variable value.
- Parameters:
-
stat - The status value that caused the exception to be thrown.
Definition at line 107 of file rtxCppException.h.
OSRTLException::OSRTLException | ( | OSRTContext * | pContext, | |
int | stat | |||
) | [inline] |
This constructor sets the status member variable value.
- Parameters:
-
pContext - The pointer to context to retrieve error information. stat - The status value that caused the exception to be thrown.
Definition at line 116 of file rtxCppException.h.
OSRTLException::OSRTLException | ( | const OSRTLException & | o | ) | [inline] |
This is a copy constructor.
- Parameters:
-
o - Exception object to be copied.
Definition at line 124 of file rtxCppException.h.
OSRTLException::~OSRTLException | ( | ) | [inline] |
The virtual destructor does nothing.
It is overridden by derived versions of this class.
Definition at line 131 of file rtxCppException.h.
The documentation for this class was generated from the following file: