You are viewing a plain text version of this content. The canonical link for it is here.
Posted to java-dev@axis.apache.org by da...@apache.org on 2003/07/14 07:26:34 UTC
cvs commit: xml-axis/c/src/common AxisException.h AxisException.cpp
damitha 2003/07/13 22:26:34
Modified: c/src/common AxisException.h AxisException.cpp
Log:
Revision Changes Path
1.2 +3 -1 xml-axis/c/src/common/AxisException.h
Index: AxisException.h
===================================================================
RCS file: /home/cvs/xml-axis/c/src/common/AxisException.h,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- AxisException.h 14 Jul 2003 04:36:38 -0000 1.1
+++ AxisException.h 14 Jul 2003 05:26:34 -0000 1.2
@@ -3,6 +3,8 @@
#include <exception>
using namespace std;
+#define AXIS_TEST_ERROR 1
+
class AxisException :public exception
{
@@ -18,6 +20,6 @@
void processException(exception* e, int e);
void processException(int e);
string getMessage(exception* e);
- string getMessage(int e);
+ string getMessage(int e);
string m_sMessage;
};
1.2 +3 -3 xml-axis/c/src/common/AxisException.cpp
Index: AxisException.cpp
===================================================================
RCS file: /home/cvs/xml-axis/c/src/common/AxisException.cpp,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- AxisException.cpp 14 Jul 2003 04:36:38 -0000 1.1
+++ AxisException.cpp 14 Jul 2003 05:26:34 -0000 1.2
@@ -67,9 +67,9 @@
string AxisException::getMessage(int e)
{
string sMessage;
- if(e == 11)
- sMessage = "AXIS_CUSTOM_ERROR";
- //cout << "AXIS_CUSTOM_ERROR" << endl;
+ if(e == 1)
+ sMessage = "AXIS_TEST_ERROR";
+ //cout << "AXIS_TEST_ERROR" << endl;
return sMessage;