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