/*
 * This file was auto-generated by the Axis C++ Web Service Generator (WSDL2Ws)
 * This file contains an Exception class of the web service.
 */

#if !defined(__AXISCLIENTEXCEPTION_EXCEPTION_H__INCLUDED_)
#define __AXISCLIENTEXCEPTION_EXCEPTION_H__INCLUDED_

#include <string>
#include <exception>
#include <axis/server/AxisException.h>
#include <axis/ISoapFault.h>

using namespace std;

AXIS_CPP_NAMESPACE_USE

class AxisServiceException: public AxisException
{
public:
	AxisServiceException();
	AxisServiceException(ISoapFault* pFault);
	AxisServiceException(int iExceptionCode);
	AxisServiceException(exception* e);
	AxisServiceException(exception* e, int iExceptionCode);
	virtual ~AxisServiceException() throw();
	 const char* what() throw();
	 const int getExceptionCode();
	 const string getMessage(exception* e);
	 const string getMessage(int iExceptionCode);
private:
	 void processException(exception* e);
	 void processException(ISoapFault* pFault);
	 void processException(exception* e, int iExceptionCode);
	 void processException(int iExceptionCode);
	 string m_sMessage;
	 int m_iExceptionCode;

};

#endif /* !defined(__AXISCLIENTEXCEPTION_EXCEPTION_H__INCLUDED_)*/
