Main Page   Class Hierarchy   Compound List   File List   Compound Members   File Members   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

 SoapFaultException ()
 SoapFaultException (const AxisChar *code, const AxisChar *string, const AxisChar *actor, int exceptionCode)
 SoapFaultException (AxisException &ae)
 SoapFaultException (const SoapFaultException &copy)
virtual SoapFaultException & operator= (SoapFaultException other)
virtual ~SoapFaultException () throw ()
virtual const AxisChar * getFaultCode () const
virtual const AxisChar * getFaultString () const
virtual const AxisChar * getFaultActor () const
virtual void setFaultCode (const AxisChar *code)
virtual void setFaultString (const AxisChar *string)
virtual void setFaultActor (const AxisChar *actor)

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


Constructor & Destructor Documentation

SoapFaultException::SoapFaultException  
 

Default constructor

SoapFaultException::SoapFaultException const AxisChar *    code,
const AxisChar *    string,
const AxisChar *    actor,
int    exceptionCode
 

SoapFaultException constructor

Parameters:
code  is the SOAP faultcode
string  is the SOAP faultstring
actor  is the SOAP faultactor
exceptionCode  is the axis exception code

SoapFaultException::SoapFaultException AxisException   ae
 

Copy constructor

Parameters:
ae  is the AxisException to be copied

SoapFaultException::SoapFaultException const SoapFaultException &    copy
 

Copy constructor

Parameters:
copy  is the SoapFaultException to be copied

virtual SoapFaultException::~SoapFaultException   throw () [virtual]
 

Destructor


Member Function Documentation

virtual const AxisChar* SoapFaultException::getFaultActor   [virtual]
 

Returns the SOAP faultactor

Returns:
faultActor

virtual const AxisChar* SoapFaultException::getFaultCode   [virtual]
 

Returns the SOAP faultcode

Returns:
faultCode

virtual const AxisChar* SoapFaultException::getFaultString   [virtual]
 

Returns the SOAP faultstring

Returns:
faultString

virtual SoapFaultException& SoapFaultException::operator= SoapFaultException    other [virtual]
 

Assignment operator

Parameters:
other  is the SOAPFaultException to be copied
Returns:
reference to this

virtual void SoapFaultException::setFaultActor const AxisChar *    actor [virtual]
 

Set the SOAP faultactor

Parameters:
actor  is the SOAP faultactor

virtual void SoapFaultException::setFaultCode const AxisChar *    code [virtual]
 

Set the SOAP faultcode

Parameters:
code  is the SOAP faultcode

virtual void SoapFaultException::setFaultString const AxisChar *    string [virtual]
 

Set the SOAP faultstring

Parameters:
string  is the SOAP faultstring


The documentation for this class was generated from the following file:
Generated on Fri Mar 3 01:12:36 2006 for AxisC++ by doxygen1.2.18