axis-java-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From di...@apache.org
Subject cvs commit: ws-axis/c/src/wsdl/org/apache/axis/wsdl/wsdl2ws WSDL2Ws.java
Date Thu, 28 Oct 2004 14:35:34 GMT
dicka       2004/10/28 07:35:34

  Modified:    c/src/wsdl/org/apache/axis/wsdl/wsdl2ws WSDL2Ws.java
  Log:
  Remove redundant catch(NoSuchMethodError e)...
  
  Submitted by: Adrian Dick
  
  Revision  Changes    Path
  1.46      +0 -21     ws-axis/c/src/wsdl/org/apache/axis/wsdl/wsdl2ws/WSDL2Ws.java
  
  Index: WSDL2Ws.java
  ===================================================================
  RCS file: /home/cvs/ws-axis/c/src/wsdl/org/apache/axis/wsdl/wsdl2ws/WSDL2Ws.java,v
  retrieving revision 1.45
  retrieving revision 1.46
  diff -u -r1.45 -r1.46
  --- WSDL2Ws.java	28 Oct 2004 10:32:13 -0000	1.45
  +++ WSDL2Ws.java	28 Oct 2004 14:35:34 -0000	1.46
  @@ -1115,27 +1115,6 @@
   
                   System.out.println("\nCode generation completed.\n");
               }
  -            catch (NoSuchMethodError noSuchMethodError)
  -            {
  -                // catch the no such method error that occurs when they have put this class
after axis java 1.2
  -                if (noSuchMethodError
  -                    .getMessage()
  -                    .indexOf("org.apache.axis.wsdl.symbolTable.CElementDecl.getMinOccrs")
  -                    > -1)
  -                {
  -                    System.out.println(
  -                        "We have caught the following error - "
  -                            + noSuchMethodError);
  -                    System.out.println("");
  -                    System.out.println(
  -                        "This usually occurs when axis java jar file comes before WSDL2ws.jar
in your classpath.");
  -                    System.out.println(
  -                        "Please verify that WSDL2ws.jar comes first in your classpath and
correct if necessary");
  -                    System.out.println(
  -                        "If it does and you still get this error then please raise an issue
with the supplier of your code");
  -                }
  -
  -            }
               catch (Exception e)
               {
                   e.printStackTrace();
  
  
  

Mime
View raw message