API Reference > OdError Classes > OdError_WithId Class > OdError_WithId Methods > OdError_WithId::getObjectId Method
OdError_WithId::getObjectId Method
Syntax
C++
OdDbStub* getObjectId() const;

Returns the Object ID associated with this Error object.

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

Copyright © 2002–2020. Open Design Alliance. All rights reserved.