Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Fixed
-
1.3 Beta
-
None
-
Linux with axis2 transport and Xerces parser
Description
I have the following code in my client:
catch (AxisException & e)
{ int code = e.getExceptionCode(); cout << "e.getExceptionCode()" << code << endl; printf ("Exception : %s\n", e.what ()); return -1; }The client segfaults when e.getExceptionCode() is called.
If I comment that line, then the client craches when e.what() is called.
Also I observed that exception class has:
virtual const char* what() const throw();
However AxisException class that inherits exception class has:
virtual const char* what() throw() = 0;
Note that trailing const is missing in the second call. I guess this is a bug.