Main Page   Class Hierarchy   Compound List   File List   Compound Members   Examples  

AxisException Class Reference

Base class for Axis C++ exception hierarchy. More...

#include <AxisException.h>

Inheritance diagram for AxisException:

List of all members.

Public Methods

 AxisException ()
 AxisException (exception *e, int iExceptionCode)
 AxisException (char *pcMessage)
virtual ~AxisException () throw ()
virtual const char * what () throw ()
virtual const int getExceptionCode ()

Detailed Description

Base class for Axis C++ exception hierarchy.

This will act as the base class for Axis C++ exception hierarchy. This is class is derived from the std c++ exception class. Derived from this class are AxisConfigExceptin, AxisSoapExceptin, AxisWsddException, AxisEngineException, AxisTransportException and AxisParseException.

Author:
Damitha Kumarage (damitha@opensource.lk, damitha@jkcsworld.com)


Constructor & Destructor Documentation

AxisException::AxisException   [inline]
 

No parameter constructor

AxisException::AxisException exception *    e,
int    iExceptionCode
 

This accept two parameters, both an exception code an exception object derived from std::exception

Parameters:
An  exception class derived from std::exception
An  exception code

AxisException::AxisException char *    pcMessage [inline]
 

This accept an exception message

Parameters:
An  exception message

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

Destructor


Member Function Documentation

virtual const int AxisException::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

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

This method is defined in std::exception. AxisException and derived classes will override this to print exception messages


The documentation for this class was generated from the following file:
Generated on Tue Jun 15 19:13:24 2004 for axiscpp by doxygen1.2.18