geronimo-scm mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From djen...@apache.org
Subject cvs commit: incubator-geronimo/modules/deployment/src/java/org/apache/geronimo/deployment/plugin/factories DeploymentFactoryImpl.java
Date Sun, 25 Jul 2004 08:25:07 GMT
djencks     2004/07/25 01:25:07

  Modified:    modules/deployment/src/java/org/apache/geronimo/deployment/plugin/factories
                        DeploymentFactoryImpl.java
  Log:
  supply more useful error info
  
  Revision  Changes    Path
  1.13      +2 -2      incubator-geronimo/modules/deployment/src/java/org/apache/geronimo/deployment/plugin/factories/DeploymentFactoryImpl.java
  
  Index: DeploymentFactoryImpl.java
  ===================================================================
  RCS file: /home/cvs/incubator-geronimo/modules/deployment/src/java/org/apache/geronimo/deployment/plugin/factories/DeploymentFactoryImpl.java,v
  retrieving revision 1.12
  retrieving revision 1.13
  diff -u -r1.12 -r1.13
  --- DeploymentFactoryImpl.java	6 Jul 2004 05:34:19 -0000	1.12
  +++ DeploymentFactoryImpl.java	25 Jul 2004 08:25:07 -0000	1.13
  @@ -80,7 +80,7 @@
                       JMXConnector jmxConnector = JMXConnectorFactory.connect(address, environment);
                       return new JMXDeploymentManager(jmxConnector);
                   } catch (IOException e) {
  -                    throw new DeploymentManagerCreationException(e.getMessage());
  +                    throw (DeploymentManagerCreationException)new DeploymentManagerCreationException(e.getMessage()).initCause(e);
                   }
               } else {
                   throw new DeploymentManagerCreationException("Invalid URI: " + uri);
  
  
  

Mime
View raw message