tomj 2003/02/07 11:26:20
Modified: java/src/org/apache/axis AxisFault.java
Log:
Provide more useful information when creating an Axis fault from a
Throwable exception.
The Stubs throw this kind of fault then they can't create the Call object
which results in a useless message (*couldn't do it").
Sneaking this in to 1.1.
Revision Changes Path
1.72 +1 -1 xml-axis/java/src/org/apache/axis/AxisFault.java
Index: AxisFault.java
===================================================================
RCS file: /home/cvs/xml-axis/java/src/org/apache/axis/AxisFault.java,v
retrieving revision 1.71
retrieving revision 1.72
diff -u -r1.71 -r1.72
--- AxisFault.java 3 Feb 2003 03:46:22 -0000 1.71
+++ AxisFault.java 7 Feb 2003 19:26:20 -0000 1.72
@@ -238,7 +238,7 @@
{
super (message, t);
setFaultCodeAsString(Constants.FAULT_SERVER_GENERAL);
- setFaultString(message);
+ setFaultString(getMessage());
}
/**