ws-axis-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From dee...@apache.org
Subject svn commit: r154642 - webservices/axis/trunk/java/modules/deployment/src/java/org/apache/axis/deployment/DeploymentEngine.java
Date Mon, 21 Feb 2005 06:49:23 GMT
Author: deepal
Date: Sun Feb 20 22:49:22 2005
New Revision: 154642

URL: http://svn.apache.org/viewcvs?view=rev&rev=154642
Log:
Removed run time exceptions an log them insted of throwing them

Modified:
    webservices/axis/trunk/java/modules/deployment/src/java/org/apache/axis/deployment/DeploymentEngine.java

Modified: webservices/axis/trunk/java/modules/deployment/src/java/org/apache/axis/deployment/DeploymentEngine.java
URL: http://svn.apache.org/viewcvs/webservices/axis/trunk/java/modules/deployment/src/java/org/apache/axis/deployment/DeploymentEngine.java?view=diff&r1=154641&r2=154642
==============================================================================
--- webservices/axis/trunk/java/modules/deployment/src/java/org/apache/axis/deployment/DeploymentEngine.java
(original)
+++ webservices/axis/trunk/java/modules/deployment/src/java/org/apache/axis/deployment/DeploymentEngine.java
Sun Feb 20 22:49:22 2005
@@ -191,7 +191,8 @@
         if(hotdeployment){
             startSearch(this);
         } else {
-            RepositoryListenerImpl repository = new RepositoryListenerImpl(folderName,this);
+            RepositoryListenerImpl repository = 
+                    new RepositoryListenerImpl(folderName,this);
         }
         valideServerModule() ;
         return engineRegistry;
@@ -418,11 +419,12 @@
                             addnewService(service);
                             log.info("Deployement WS Name  " + currentFileItem.getName());
                         } catch (DeploymentException de) {
-                            throw new RuntimeException(de);
+                            log.info("DeploymentException  " + de);
                         } catch (AxisFault axisFault) {
+                            log.info("AxisFault  " + axisFault);
                             throw new RuntimeException(axisFault);
                         } catch (Exception e) {
-                            throw new RuntimeException(e);
+                            log.info("Exception  " + e);
                         } finally {
                             currentFileItem = null;
                         }
@@ -434,9 +436,9 @@
                             addNewModule(metaData);
                             log.info("Moduel WS Name  " + currentFileItem.getName() + " modulename
:" + metaData.getName());
                         } catch (DeploymentException e) {
-                            throw new RuntimeException(e);
+                            log.info("DeploymentException  " + e);
                         } catch (AxisFault axisFault) {
-                            throw new RuntimeException(axisFault);
+                            log.info("AxisFault  " + axisFault);
                         } finally {
                             currentFileItem = null;
                         }
@@ -464,7 +466,7 @@
 
             }
         }catch(AxisFault e){
-            throw new RuntimeException(e.getMessage());
+            log.info("AxisFault " + e);
         }
         wsToUnDeploy.clear();
     }



Mime
View raw message