00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019
00020
00021 #ifndef __AXISTRANSPORTEXCEPTION_H_OF_AXIS_INCLUDED_
00022 #define __AXISTRANSPORTEXCEPTION_H_OF_AXIS_INCLUDED_
00023
00024 #include <string>
00025 #include <exception>
00026 #include <axis/server/AxisException.h>
00027 using namespace std;
00028
00029 class AxisTransportException :public AxisException
00030 {
00031
00032 public:
00033 AxisTransportException();
00034 AxisTransportException(int iExceptionCode);
00035 AxisTransportException(exception* e);
00036 AxisTransportException(exception* e, int iExceptionCode);
00037 virtual ~AxisTransportException() throw();
00038 const char* what() throw();
00039 const int getExceptionCode();
00040 const string getMessage(exception* e);
00041 const string getMessage(int iExceptionCode);
00042
00043 private:
00044 void processException(exception* e);
00045 void processException(exception* e, int iExceptionCode);
00046 void processException(int iExceptionCode);
00047 string m_sMessage;
00048 int m_iExceptionCode;
00049 };
00050
00051 #endif
00052