dims 2003/01/18 13:08:56
Modified: java/test/wsdl/dataset DataServiceTestCase.java
Log:
Prevent Gump failure.
Revision Changes Path
1.4 +5 -2 xml-axis/java/test/wsdl/dataset/DataServiceTestCase.java
Index: DataServiceTestCase.java
===================================================================
RCS file: /home/cvs/xml-axis/java/test/wsdl/dataset/DataServiceTestCase.java,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -r1.3 -r1.4
--- DataServiceTestCase.java 16 Jan 2003 13:17:11 -0000 1.3
+++ DataServiceTestCase.java 18 Jan 2003 21:08:56 -0000 1.4
@@ -10,6 +10,7 @@
import org.apache.axis.AxisFault;
import java.net.ConnectException;
+import java.io.IOException;
public class DataServiceTestCase extends junit.framework.TestCase {
public DataServiceTestCase(java.lang.String name) {
@@ -44,10 +45,12 @@
System.err.println("DataService HTTP error: " + fault);
return;
}
+ if (fault.detail instanceof IOException) {
+ System.err.println("DataService IO error: " + fault);
+ return;
+ }
}
throw new junit.framework.AssertionFailedError("Remote Exception
caught: " + re);
- } catch (java.io.IOException ioe){
- System.err.println("DataService IO error: " + ioe);
}
}
}