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.
OdError_WithId Methods