You are viewing a plain text version of this content. The canonical link for it is here.
Posted to java-dev@axis.apache.org by ha...@apache.org on 2005/07/11 19:39:54 UTC
cvs commit: ws-axis/c/tests/utils/monitor/org/apache/test MockServer.java
hawkeye 2005/07/11 10:39:54
Modified: c/tests/utils/monitor/org/apache/test MockServer.java
Log:
Put in slightly better io exception handling into MockServer.java
Revision Changes Path
1.3 +3 -1 ws-axis/c/tests/utils/monitor/org/apache/test/MockServer.java
Index: MockServer.java
===================================================================
RCS file: /home/cvs/ws-axis/c/tests/utils/monitor/org/apache/test/MockServer.java,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -r1.2 -r1.3
--- MockServer.java 1 Jul 2005 16:11:06 -0000 1.2
+++ MockServer.java 11 Jul 2005 17:39:54 -0000 1.3
@@ -68,7 +68,9 @@
}
catch (IOException ioException)
{
- ioException.printStackTrace( );
+ ioException.printStackTrace( System.err);
+
+ throw new RuntimeException("Failed to start MockServer due to IOException: "+ioException);
}
}