axis-java-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From to...@apache.org
Subject cvs commit: xml-axis/java/src/org/apache/axis/configuration FileProvider.java
Date Thu, 21 Aug 2003 08:07:57 GMT
toshi       2003/08/21 01:07:57

  Modified:    java/src/org/apache/axis/configuration FileProvider.java
  Log:
  Fix for <http://nagoya.apache.org/bugzilla/show_bug.cgi?id=22548>
  
  Revision  Changes    Path
  1.44      +5 -1      xml-axis/java/src/org/apache/axis/configuration/FileProvider.java
  
  Index: FileProvider.java
  ===================================================================
  RCS file: /home/cvs/xml-axis/java/src/org/apache/axis/configuration/FileProvider.java,v
  retrieving revision 1.43
  retrieving revision 1.44
  diff -u -r1.43 -r1.44
  --- FileProvider.java	22 Apr 2003 19:34:13 -0000	1.43
  +++ FileProvider.java	21 Aug 2003 08:07:57 -0000	1.44
  @@ -258,7 +258,11 @@
        * @throws ConfigurationException XXX
        */
       public SOAPService getService(QName qname) throws ConfigurationException {
  -        return deployment.getService(qname);
  +        SOAPService service = deployment.getService(qname);
  +        if (service == null) {
  +            throw new ConfigurationException(Messages.getMessage("noService"));
  +        }
  +        return service;
       }
   
       /**
  
  
  

Mime
View raw message