axis-java-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From d...@apache.org
Subject cvs commit: xml-axis/java/tools/org/apache/axis/tools/ant/wsdl Java2WsdlAntTask.java
Date Fri, 01 Nov 2002 20:38:28 GMT
dims        2002/11/01 12:38:28

  Modified:    java/tools/org/apache/axis/tools/ant/wsdl
                        Java2WsdlAntTask.java
  Log:
  Wrap IOE into a BuildException
  
  Revision  Changes    Path
  1.12      +6 -2      xml-axis/java/tools/org/apache/axis/tools/ant/wsdl/Java2WsdlAntTask.java
  
  Index: Java2WsdlAntTask.java
  ===================================================================
  RCS file: /home/cvs/xml-axis/java/tools/org/apache/axis/tools/ant/wsdl/Java2WsdlAntTask.java,v
  retrieving revision 1.11
  retrieving revision 1.12
  diff -u -r1.11 -r1.12
  --- Java2WsdlAntTask.java	1 Nov 2002 20:14:57 -0000	1.11
  +++ Java2WsdlAntTask.java	1 Nov 2002 20:38:28 -0000	1.12
  @@ -263,8 +263,12 @@
        * should be physically imported into the generated WSDL.
        * @param parameter
        */
  -    public void setImportSchema(File parameter) throws java.io.IOException {
  -        this.importSchema = parameter.toURL().toString();
  +    public void setImportSchema(File parameter) throws BuildException {
  +        try {
  +            this.importSchema = parameter.toURL().toString();
  +        } catch (java.io.IOException ioe) {
  +            throw new BuildException(ioe);
  +        }
       }
   
       /**
  
  
  

Mime
View raw message