dims 2003/05/28 16:35:14
Modified: java/src/org/apache/axis AxisFault.java
Log:
Don't create a new variable detail2, use the detail variable in RemoteException
Revision Changes Path
1.78 +2 -5 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.77
retrieving revision 1.78
diff -u -r1.77 -r1.78
--- AxisFault.java 28 May 2003 18:34:17 -0000 1.77
+++ AxisFault.java 28 May 2003 23:35:14 -0000 1.78
@@ -106,9 +106,6 @@
/** SOAP headers which should be serialized with the Fault */
protected ArrayList faultHeaders = null;
- /** wrapped remote exception */
- protected Throwable detail2 = null;
-
/**
* Make an AxisFault based on a passed Exception. If the Exception is
* already an AxisFault, simply use that. Otherwise, wrap it in an
@@ -203,7 +200,7 @@
super ("", target);
// ? SOAP 1.2 or 1.1 ?
setFaultCodeAsString( Constants.FAULT_SERVER_USER );
- detail2 = target;
+ detail = target;
initFromException(target);
}
@@ -788,6 +785,6 @@
* @return the wrapped remote exception, which may be <tt>null</tt>.
*/
public Throwable getWrapped() {
- return detail2;
+ return detail;
}
}