Issue 1293: ObjectCreationError and Nofactory exceptions in Externilazition (issues) Source: (, ) Nature: Uncategorized Issue Severity: Summary: Summary: There is a bit of confusion in the specification concerning the exceptions that are possible during the internalization process. The internalize operation can raise CosLifeCycle::NoFactory and StreamDataFormatError exceptions. This operation calls the internalize_from_stream operation of the Streamable interface that can raise the CosLifeCycle::NoFactory, StreamDataFormatError, and ObjectCreationError exceptions.The last paragraph on page 8-20 (August 1997 release) states that the ObjectCreationError and StreamDataFormatError exceptions of the internalize_from_stream operation originate from the read_object amd read_<type> operations on the StreamIO interface. However, the ObjectCreationError is not raised by any of these, according to the IDL in figure 8-6. Resolution: Revised Text: Actions taken: April 30, 1998: received issue Discussion: :NoFactory, StreamDataFormatError, and End of Annotations:===== Return-Path: Date: Thu, 30 Apr 1998 09:55:53 -0400 From: Ken Geisinger Organization: Concept 5 Technologies To: issues@omg.org Subject: ObjectCreationError and NoFactory exceptions in Externalization There is a bit of confusion in the specification concerning the exceptions that are possible during the internalization process. The internalize operation can raise CosLifeCycle::NoFactory and StreamDataFormatError exceptions. This operation calls the internalize_from_stream operation of the Streamable interface that can raise the CosLifeCycle::NoFactory, StreamDataFormatError, and ObjectCreationError exceptions.The last paragraph on page 8-20 (August 1997 release) states that the ObjectCreationError and StreamDataFormatError exceptions of the internalize_from_stream operation originate from the read_object amd read_ operations on the StreamIO interface. However, the ObjectCreationError is not raised by any of these, according to the IDL in figure 8-6. So when, and under what circumstances are the ObjectCreationError and CosLifeCycle::NoFactory exceptions raised? I assume they can originate from the read_object and read_graph operations since these are the only opeartions that are potentially called by the externalize_from_stream operation that can create new objects. -- --------------------------------- | The opinions expressed above Ken Geisinger | are my own and not necessarily Sr. Software Integration Engineer | those of the company to which Concept Five Technologies, Inc. | I am employed. --------------------------------- |