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 st...@apache.org on 2003/06/24 03:09:30 UTC

cvs commit: xml-axis/java/src/org/apache/axis/message RPCParam.java

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());
           }
       }