[wsf-c-dev] [C++] Exceptions in OMFactory
senaka at wso2.com
senaka at wso2.com
Tue Nov 6 11:16:41 PST 2007
Hi all,
The OMFactory class
(http://www.wso2.org/wiki/display/wsfcpp/Class+OMFactory) basically is
used to build OM classes such as OMElement, OMAttribute and OMNamespace.
The OMFactory is a composite of the ServiceClient class, and can be
retrieved by calling the getOMFactory() method in the ServiceClient class.
Now, when creating OM objects we may run into situations such as occasions
in which OM objects can't be created. In such a situation what type of
exception should be thrown? AxisFault is what is being used at the moment,
but, I believe it should have some other name.
How about something like OMFactoryException?
Your suggestions are most welcome.
Regards,
Senaka
More information about the Wsf-c-dev
mailing list