WebSphere Message Service Clients: Web Services Client for C++, Version 1.1 Operating Systems: Linux, Windows

Exception handling

This section provides examples to show how exception handling can be implemented in a web service client application.

Web Services Client for C++ uses exceptions to report back any errors that have occurred. To catch these exceptions, the client application must surround all Web Services Client for C++ methods with a try…catch framework.

SOAP faults are represented as exceptions; they are thrown back to the client application as a subclass of SoapFaultException.

The examples in the following topics show to handle exceptions in a client application.


Reference topic

Terms of Use | Rate this page

Last updated: 24 Mar 2006

© Copyright IBM Corporation 2005, 2006. All Rights Reserved.