Throws an exception if this object is not open OdDg::kForNotify.
Remarks
This function should be used only inside member functions that are used only when this object is open OdDg::kForNotify. It should be the first function called by these functions.