You are viewing a plain text version of this content. The canonical link for it is here.
Posted to scm@geronimo.apache.org by da...@apache.org on 2005/07/14 05:58:37 UTC

svn commit: r218980 - /geronimo/trunk/modules/kernel/src/java/org/apache/geronimo/gbean/runtime/GBeanInstanceState.java

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 {