WebSphere Web Services Client for C++, Version 1.0.1 Operating Systems: Linux, Solaris

Exception handling

This chapter 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 sections show to handle exceptions in a client application.


Reference topic

Terms of Use | Rate this page

Timestamp iconLast updated: 12 Dec 2005
(C) Copyright IBM Corporation 2005. All Rights Reserved.
This information center is powered by Eclipse technology. (http://www.eclipse.org)