00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
#ifndef __SOAPFAULTEXCEPTION_H_OF_AXIS_INCLUDED_
00019
#define __SOAPFAULTEXCEPTION_H_OF_AXIS_INCLUDED_
00020
00021
#include <axis/GDefine.hpp>
00022
#include <axis/AxisException.hpp>
00023
00024 AXIS_CPP_NAMESPACE_START
00025
00042 class STORAGE_CLASS_INFO SoapFaultException :
public AxisException
00043 {
00044
public:
00045 SoapFaultException();
00046 SoapFaultException(
const AxisChar *code,
const AxisChar *string,
const AxisChar *actor,
int exceptionCode);
00047 SoapFaultException(
AxisException& ae);
00048 SoapFaultException(
const SoapFaultException& copy);
00049
virtual SoapFaultException& operator=(SoapFaultException other);
00050
virtual ~SoapFaultException()
throw();
00051
00052
virtual const AxisChar *getFaultCode()
const;
00053
virtual const AxisChar *getFaultString()
const;
00054
virtual const AxisChar *getFaultActor()
const;
00055
00056
virtual void setFaultCode(
const AxisChar *code);
00057
virtual void setFaultString(
const AxisChar *string);
00058
virtual void setFaultActor(
const AxisChar *actor);
00059
virtual void setExceptionCode(
int code);
00060
00062
virtual const char*
what()
throw();
00063
virtual const int getExceptionCode();
00064
private:
00065 AxisChar *m_code;
00066 AxisChar *m_string;
00067 AxisChar *m_actor;
00068
int m_exceptionCode;
00069 };
00070
00071 AXIS_CPP_NAMESPACE_END
00072
00073
#endif
00074