CFx SDK Documentation 2024 SP0
Loading...
Searching...
No Matches
Public Member Functions | List of all members
OdError_WithId Class Reference

#include <OdErrorWithId.h>

Inheritance diagram for OdError_WithId:
OdError

Public Member Functions

 OdError_WithId (OdResult res, OdDbStub *id, const OdString &className=OdString::kEmpty)
 
OdDbStub * getObjectId () const
 
- Public Member Functions inherited from OdError
void setContext (OdErrorContext *pErrorContext)
 
const OdErrorContextcontext () const
 
OdErrorContextcontext ()
 
 OdError (OdResult code)
 
 OdError (const OdError &source)
 
 OdError (OdErrorContext *pErrorContext)
 
 OdError (const OdString &errorMessage)
 
 OdError (const OdString &errorMessage, const OdError &previousError)
 
 ~OdError ()
 
OdErroroperator= (const OdError &source)
 
OdResult code () const
 
OdString description () const
 
void attachPreviousError (const OdError &previousError)
 

Detailed Description

<group Error_Classes>

Definition at line 35 of file OdErrorWithId.h.

Constructor & Destructor Documentation

◆ OdError_WithId()

OdError_WithId::OdError_WithId ( OdResult  res,
OdDbStub *  id,
const OdString className = OdString::kEmpty 
)

Member Function Documentation

◆ getObjectId()

OdDbStub * OdError_WithId::getObjectId ( ) const

Returns the Object ID associated with this Error object.

Remarks
The exception handler is responsible for assuring that ObjectId() is valid at the time of handling the exception.

The documentation for this class was generated from the following file: