Main Page   Class Hierarchy   Compound List   File List   Compound Members   File Members   Related Pages   Examples  

SoapFaultException Class Reference

Superclass of all user-defined soap faults defined in the WSDL. More...

#include <SoapFaultException.hpp>

Inheritance diagram for SoapFaultException:

AxisException OtherFaultException List of all members.

Public Methods

virtual const char * what () throw ()
virtual const int getExceptionCode ()

Detailed Description

Superclass of all user-defined soap faults defined in the WSDL.

SoapFaultException is the superclass of all user faults that are defined in the WSDL. This enables a client application to catch all soap faults in a single catch block. To catch a specific soap fault, a client application should catch the class that represents the fault's complex type. SoapFaultException is a simple class that encapsulates the fault information and does not reference the SoapFault itself. This means it can clean it's own storage in its destructor so the client application doesn't have to.

Author:
Mark Whitlock


Member Function Documentation

virtual const int SoapFaultException::getExceptionCode   [virtual]
 

This can be called to get the exception code which is passed in the constructor. This returns -1 value when the constructor does not have a exception code parameter

Returns:
the exception code if the construct have a exception code int parameter. Else return -1.
Returns:
exception message

Implements AxisException.

virtual const char* SoapFaultException::what   throw () [virtual]
 

Returns:
the fault string

Implements AxisException.


The documentation for this class was generated from the following file:
Generated on Tue May 17 02:30:31 2005 for AxisC++ by doxygen1.2.18