|
CFx SDK Documentation
2022 SP0
|
#include <OdError.h>
Public Member Functions | |
| void | setContext (OdErrorContext *pErrorContext) |
| const OdErrorContext * | context () const |
| OdErrorContext * | context () |
| OdError (OdResult code) | |
| OdError (const OdError &source) | |
| OdError (OdErrorContext *pErrorContext) | |
| OdError (const OdString &errorMessage) | |
| OdError (const OdString &errorMessage, const OdError &previousError) | |
| ~OdError () | |
| OdError & | operator= (const OdError &source) |
| OdResult | code () const |
| OdString | description () const |
| void | attachPreviousError (const OdError &previousError) |
| FX_DECLARE_CLANG_RTTI_EXCEPTION_WORKAROUND () | |
This class implement OdError node objects in an OdErrorNode stack..
Corresponding C++ library: TD_Root <group Error_Classes>
|
explicit |
| code | [in] Error code. |
| OdError::OdError | ( | const OdError & | source | ) |
|
explicit |
| pErrorContext | [in] Pointer to the ErrorContext. |
|
explicit |
| errorMessage | [in] Error message. |
| previousError | [in] Previous Error object. |
| OdError::~OdError | ( | ) |
Sets the Error object previous to this one in this Error stack.
| previousError | [in] Previous Error object. |
| OdResult OdError::code | ( | ) | const |
Returns the OdResult code of this Error object.
| OdErrorContext* OdError::context | ( | ) |
| const OdErrorContext* OdError::context | ( | ) | const |
| OdString OdError::description | ( | ) | const |
Returns the description of this Error object.
| OdError::FX_DECLARE_CLANG_RTTI_EXCEPTION_WORKAROUND | ( | ) |
| void OdError::setContext | ( | OdErrorContext * | pErrorContext | ) |