axis-java-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ste...@apache.org
Subject cvs commit: xml-axis/java/src/org/apache/axis/message RPCParam.java
Date Tue, 24 Jun 2003 01:09:30 GMT
stevel      2003/06/23 18:09:30

  Modified:    java/src/org/apache/axis/message RPCParam.java
  Log:
  Downgrade static constructor failure from a System.exit() call to a RuntimeException, thus
leaving it to the container to deal with it however it wants.
  Reporter: Aaron Knauf.
  
  Revision  Changes    Path
  1.55      +1 -1      xml-axis/java/src/org/apache/axis/message/RPCParam.java
  
  Index: RPCParam.java
  ===================================================================
  RCS file: /home/cvs/xml-axis/java/src/org/apache/axis/message/RPCParam.java,v
  retrieving revision 1.54
  retrieving revision 1.55
  diff -u -r1.54 -r1.55
  --- RPCParam.java	22 Apr 2003 19:35:16 -0000	1.54
  +++ RPCParam.java	24 Jun 2003 01:09:30 -0000	1.55
  @@ -102,7 +102,7 @@
               valueSetMethod = cls.getMethod("set", new Class[] {Object.class});
           } catch (NoSuchMethodException e) {
               log.error(Messages.getMessage("noValue00", "" + e));
  -            System.exit(-1);
  +            throw new RuntimeException(e.getMessage());
           }
       }
   
  
  
  

Mime
View raw message