geronimo-scm mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From sppa...@apache.org
Subject svn commit: r368771 - /geronimo/devtools/trunk/modules/eclipse-plugin/plugins/org.apache.geronimo.devtools.eclipse.core/src/org/apache/geronimo/core/internal/GeronimoServerBehaviour.java
Date Fri, 13 Jan 2006 16:18:15 GMT
Author: sppatel
Date: Fri Jan 13 08:18:01 2006
New Revision: 368771

URL: http://svn.apache.org/viewcvs?rev=368771&view=rev
Log:
woops need to rethrow coreexception to user

Modified:
    geronimo/devtools/trunk/modules/eclipse-plugin/plugins/org.apache.geronimo.devtools.eclipse.core/src/org/apache/geronimo/core/internal/GeronimoServerBehaviour.java

Modified: geronimo/devtools/trunk/modules/eclipse-plugin/plugins/org.apache.geronimo.devtools.eclipse.core/src/org/apache/geronimo/core/internal/GeronimoServerBehaviour.java
URL: http://svn.apache.org/viewcvs/geronimo/devtools/trunk/modules/eclipse-plugin/plugins/org.apache.geronimo.devtools.eclipse.core/src/org/apache/geronimo/core/internal/GeronimoServerBehaviour.java?rev=368771&r1=368770&r2=368771&view=diff
==============================================================================
--- geronimo/devtools/trunk/modules/eclipse-plugin/plugins/org.apache.geronimo.devtools.eclipse.core/src/org/apache/geronimo/core/internal/GeronimoServerBehaviour.java
(original)
+++ geronimo/devtools/trunk/modules/eclipse-plugin/plugins/org.apache.geronimo.devtools.eclipse.core/src/org/apache/geronimo/core/internal/GeronimoServerBehaviour.java
Fri Jan 13 08:18:01 2006
@@ -239,6 +239,8 @@
 					doFail(status, Messages.START_FAIL);
 				}
 			}
+		} catch (CoreException e) {
+			throw e;
 		} catch (Exception e) {
 			e.printStackTrace();
 		}
@@ -256,10 +258,17 @@
 			if (!status.isOK()) {
 				doFail(status, Messages.REDEPLOY_FAIL);
 			}
+		} catch (CoreException e) {
+			throw e;
 		} catch (Exception e) {
 			e.printStackTrace();
 			if (e instanceof TargetModuleIdNotFoundException) {
-				GeronimoPlugin.getInstance().log(Status.WARNING, "Module may have been uninstalled outside
the workspace.", e);
+				GeronimoPlugin
+						.getInstance()
+						.log(
+								Status.WARNING,
+								"Module may have been uninstalled outside the workspace.",
+								e);
 				doDeploy(module);
 			}
 		}
@@ -287,6 +296,8 @@
 				doFail(status, Messages.UNDEPLOY_FAIL);
 			}
 
+		} catch (CoreException e) {
+			throw e;
 		} catch (Exception e) {
 			e.printStackTrace();
 		}



Mime
View raw message