geronimo-scm mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ga...@apache.org
Subject svn commit: r615085 - in /geronimo/server/trunk/framework/modules/geronimo-deploy-jsr88/src/main/java/org/apache/geronimo/deployment/plugin/local: CommandSupport.java DistributeCommand.java
Date Fri, 25 Jan 2008 00:27:38 GMT
Author: gawor
Date: Thu Jan 24 16:27:32 2008
New Revision: 615085

URL: http://svn.apache.org/viewvc?rev=615085&view=rev
Log:
make sure to fail on any exception or error (GERONIMO-3767)

Modified:
    geronimo/server/trunk/framework/modules/geronimo-deploy-jsr88/src/main/java/org/apache/geronimo/deployment/plugin/local/CommandSupport.java
    geronimo/server/trunk/framework/modules/geronimo-deploy-jsr88/src/main/java/org/apache/geronimo/deployment/plugin/local/DistributeCommand.java

Modified: geronimo/server/trunk/framework/modules/geronimo-deploy-jsr88/src/main/java/org/apache/geronimo/deployment/plugin/local/CommandSupport.java
URL: http://svn.apache.org/viewvc/geronimo/server/trunk/framework/modules/geronimo-deploy-jsr88/src/main/java/org/apache/geronimo/deployment/plugin/local/CommandSupport.java?rev=615085&r1=615084&r2=615085&view=diff
==============================================================================
--- geronimo/server/trunk/framework/modules/geronimo-deploy-jsr88/src/main/java/org/apache/geronimo/deployment/plugin/local/CommandSupport.java
(original)
+++ geronimo/server/trunk/framework/modules/geronimo-deploy-jsr88/src/main/java/org/apache/geronimo/deployment/plugin/local/CommandSupport.java
Thu Jan 24 16:27:32 2008
@@ -130,7 +130,7 @@
         sendEvent(message, state);
     }
 
-    public void doFail(Exception e) {
+    public void doFail(Throwable e) {
         if (e instanceof InternalKernelException) {
             Exception test = (Exception)e.getCause();
             if(test != null) {

Modified: geronimo/server/trunk/framework/modules/geronimo-deploy-jsr88/src/main/java/org/apache/geronimo/deployment/plugin/local/DistributeCommand.java
URL: http://svn.apache.org/viewvc/geronimo/server/trunk/framework/modules/geronimo-deploy-jsr88/src/main/java/org/apache/geronimo/deployment/plugin/local/DistributeCommand.java?rev=615085&r1=615084&r2=615085&view=diff
==============================================================================
--- geronimo/server/trunk/framework/modules/geronimo-deploy-jsr88/src/main/java/org/apache/geronimo/deployment/plugin/local/DistributeCommand.java
(original)
+++ geronimo/server/trunk/framework/modules/geronimo-deploy-jsr88/src/main/java/org/apache/geronimo/deployment/plugin/local/DistributeCommand.java
Thu Jan 24 16:27:32 2008
@@ -60,7 +60,7 @@
             for(int i = 0; i < targetList.length; i++) {
             	doDeploy(targetList[i], true);
             }
-        } catch (Exception e) {
+        } catch (Throwable e) {
             doFail(e);
         } finally {
             if (spool) {



Mime
View raw message