[wsf-c-dev] [C++] Exceptions in OMFactory
Samisa Abeysinghe
samisa at wso2.com
Tue Nov 6 19:38:47 PST 2007
Do we need to have a factory for this API?
Do we need to make it that complex?
Samisa...
senaka at wso2.com wrote:
> 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
>
> _______________________________________________
> Wsf-c-dev mailing list
> Wsf-c-dev at wso2.org
> http://wso2.org/cgi-bin/mailman/listinfo/wsf-c-dev
>
>
More information about the Wsf-c-dev
mailing list