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 sa...@apache.org on 2004/10/11 08:20:12 UTC

cvs commit: ws-axis/c/src/wsdl/org/apache/axis/wsdl/wsdl2ws/cpp/literal AllParamWriter.java

samisa      2004/10/10 23:20:12

  Modified:    c/src/wsdl/org/apache/axis/wsdl/wsdl2ws/cpp
                        AllParamWriter.java
               c/src/wsdl/org/apache/axis/wsdl/wsdl2ws/cpp/literal
                        AllParamWriter.java
  Log:
  Added class name to "Error occured yet we continue to genarate other
  classes ... you should check the error" message to help troubleshooting.
  
  Revision  Changes    Path
  1.8       +3 -2      ws-axis/c/src/wsdl/org/apache/axis/wsdl/wsdl2ws/cpp/AllParamWriter.java
  
  Index: AllParamWriter.java
  ===================================================================
  RCS file: /home/cvs/ws-axis/c/src/wsdl/org/apache/axis/wsdl/wsdl2ws/cpp/AllParamWriter.java,v
  retrieving revision 1.7
  retrieving revision 1.8
  diff -u -r1.7 -r1.8
  --- AllParamWriter.java	8 Sep 2004 06:41:14 -0000	1.7
  +++ AllParamWriter.java	11 Oct 2004 06:20:12 -0000	1.8
  @@ -48,7 +48,7 @@
   	public void writeSource() throws WrapperFault {
   		Iterator enu = wscontext.getTypemap().getTypes().iterator();
   		String generator = wscontext.getWrapInfo().getImplStyle();
  -		Type type;
  +		Type type = null;
   		while(enu.hasNext()){	
   		try{	
   			type = (Type)enu.next();
  @@ -81,7 +81,8 @@
   				}	
   				}	
   			}catch(Exception e){
  -				System.out.println("Error occured yet we continue to genarate other classes ... you should check the error");
  +				System.out.println("Error occured generating code for " + type.getLanguageSpecificName() + 
  +						   ". Yet we continue to genarate other classes ... You should check the error");
   				e.printStackTrace();
   			}	
   		}
  
  
  
  1.10      +3 -2      ws-axis/c/src/wsdl/org/apache/axis/wsdl/wsdl2ws/cpp/literal/AllParamWriter.java
  
  Index: AllParamWriter.java
  ===================================================================
  RCS file: /home/cvs/ws-axis/c/src/wsdl/org/apache/axis/wsdl/wsdl2ws/cpp/literal/AllParamWriter.java,v
  retrieving revision 1.9
  retrieving revision 1.10
  diff -u -r1.9 -r1.10
  --- AllParamWriter.java	22 Sep 2004 08:39:11 -0000	1.9
  +++ AllParamWriter.java	11 Oct 2004 06:20:12 -0000	1.10
  @@ -62,7 +62,7 @@
   	public void writeSource() throws WrapperFault {
   		Iterator enu = wscontext.getTypemap().getTypes().iterator();
   		String generator = wscontext.getWrapInfo().getImplStyle();
  -		Type type;
  +		Type type = null;
   		while(enu.hasNext()){	
   		try{	
   			type = (Type)enu.next();
  @@ -128,7 +128,8 @@
   				}	
   				}	
   			}catch(Exception e){
  -				System.out.println("Error occured yet we continue to genarate other classes ... you should check the error");
  +				System.out.println("Error occured generating code for " + type.getLanguageSpecificName() + 
  +						   ". Yet we continue to genarate other classes ... You should check the error");
   				e.printStackTrace();
   			}	
   		}