dims 2002/09/19 11:58:17
Modified: java/src/org/apache/axis/wsdl/toJava JavaTestCaseWriter.java
Log:
Adding a printStackTrace() for better diagnostics.
Revision Changes Path
1.44 +2 -0
xml-axis/java/src/org/apache/axis/wsdl/toJava/JavaTestCaseWriter.java
Index: JavaTestCaseWriter.java
===================================================================
RCS file:
/home/cvs/xml-axis/java/src/org/apache/axis/wsdl/toJava/JavaTestCaseWriter.java,v
retrieving revision 1.43
retrieving revision 1.44
diff -u -r1.43 -r1.44
--- JavaTestCaseWriter.java 18 Sep 2002 16:10:36 -0000 1.43
+++ JavaTestCaseWriter.java 19 Sep 2002 18:58:17 -0000 1.44
@@ -288,6 +288,8 @@
pw.println("Locator" + "().get" + portName + "();");
pw.println(" }");
pw.println(" catch (" +
javax.xml.rpc.ServiceException.class.getName() + " jre) {");
+ pw.println(" if(jre.getLinkedCause()!=null)");
+ pw.println(" jre.getLinkedCause().printStackTrace();");
pw.println(" throw new
junit.framework.AssertionFailedError(\"JAX-RPC ServiceException caught: \" + jre);");
pw.println(" }");