glyn 2002/05/31 01:33:26
Modified: java/src/org/apache/axis SOAPPart.java
Log:
Add exception processing.
Revision Changes Path
1.24 +2 -3 xml-axis/java/src/org/apache/axis/SOAPPart.java
Index: SOAPPart.java
===================================================================
RCS file: /home/cvs/xml-axis/java/src/org/apache/axis/SOAPPart.java,v
retrieving revision 1.23
retrieving revision 1.24
diff -u -r1.23 -r1.24
--- SOAPPart.java 30 May 2002 16:40:42 -0000 1.23
+++ SOAPPart.java 31 May 2002 08:33:26 -0000 1.24
@@ -692,12 +692,11 @@
* @throws SOAPException if there is a SOAP error
*/
public javax.xml.soap.SOAPEnvelope getEnvelope() throws SOAPException {
- javax.xml.soap.SOAPEnvelope env = null;
try {
- env = getAsSOAPEnvelope();
+ return getAsSOAPEnvelope();
} catch (AxisFault af) {
+ throw new SOAPException(af);
}
- return env;
}
}