geronimo-scm mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From d...@apache.org
Subject svn commit: r218980 - /geronimo/trunk/modules/kernel/src/java/org/apache/geronimo/gbean/runtime/GBeanInstanceState.java
Date Thu, 14 Jul 2005 03:58:37 GMT
Author: dain
Date: Wed Jul 13 20:58:36 2005
New Revision: 218980

URL: http://svn.apache.org/viewcvs?rev=218980&view=rev
Log:
In attemptFullStart and attemptFullStop exit the method when an exception is caught instead
of trying to move the running or stopped state.

Modified:
    geronimo/trunk/modules/kernel/src/java/org/apache/geronimo/gbean/runtime/GBeanInstanceState.java

Modified: geronimo/trunk/modules/kernel/src/java/org/apache/geronimo/gbean/runtime/GBeanInstanceState.java
URL: http://svn.apache.org/viewcvs/geronimo/trunk/modules/kernel/src/java/org/apache/geronimo/gbean/runtime/GBeanInstanceState.java?rev=218980&r1=218979&r2=218980&view=diff
==============================================================================
--- geronimo/trunk/modules/kernel/src/java/org/apache/geronimo/gbean/runtime/GBeanInstanceState.java
(original)
+++ geronimo/trunk/modules/kernel/src/java/org/apache/geronimo/gbean/runtime/GBeanInstanceState.java
Wed Jul 13 20:58:36 2005
@@ -340,6 +340,7 @@
 
             if (t instanceof Exception) {
                 // ignore - we only rethrow errors
+                return;
             } else if (t instanceof Error) {
                 throw (Error) t;
             } else {
@@ -409,6 +410,7 @@
 
             if (t instanceof Exception) {
                 // ignore - we only rethrow errors
+                return;
             } else if (t instanceof Error) {
                 throw (Error) t;
             } else {



Mime
View raw message