airavata-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From lah...@apache.org
Subject [1/2] git commit: throwing exception when launch fail in orchestrator and make the experiment status fail
Date Thu, 21 Aug 2014 15:30:09 GMT
Repository: airavata
Updated Branches:
  refs/heads/master 555790220 -> bf9b277e7


throwing exception when launch fail in orchestrator and make the experiment status fail


Project: http://git-wip-us.apache.org/repos/asf/airavata/repo
Commit: http://git-wip-us.apache.org/repos/asf/airavata/commit/abdaa8bd
Tree: http://git-wip-us.apache.org/repos/asf/airavata/tree/abdaa8bd
Diff: http://git-wip-us.apache.org/repos/asf/airavata/diff/abdaa8bd

Branch: refs/heads/master
Commit: abdaa8bd444cc9e668fa45cc5ee4bb1e29d7b150
Parents: 5bdb49d
Author: lahiru <lahiru@apache.org>
Authored: Thu Aug 21 20:59:37 2014 +0530
Committer: lahiru <lahiru@apache.org>
Committed: Thu Aug 21 20:59:37 2014 +0530

----------------------------------------------------------------------
 .../server/OrchestratorServerHandler.java       | 21 ++++----------------
 1 file changed, 4 insertions(+), 17 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/airavata/blob/abdaa8bd/modules/orchestrator/airavata-orchestrator-service/src/main/java/org/apache/airavata/orchestrator/server/OrchestratorServerHandler.java
----------------------------------------------------------------------
diff --git a/modules/orchestrator/airavata-orchestrator-service/src/main/java/org/apache/airavata/orchestrator/server/OrchestratorServerHandler.java
b/modules/orchestrator/airavata-orchestrator-service/src/main/java/org/apache/airavata/orchestrator/server/OrchestratorServerHandler.java
index 68b84af..58ea326 100644
--- a/modules/orchestrator/airavata-orchestrator-service/src/main/java/org/apache/airavata/orchestrator/server/OrchestratorServerHandler.java
+++ b/modules/orchestrator/airavata-orchestrator-service/src/main/java/org/apache/airavata/orchestrator/server/OrchestratorServerHandler.java
@@ -438,23 +438,10 @@ public class OrchestratorServerHandler implements OrchestratorService.Iface,
 											.get(0), taskData,airavataCredStoreToken);
 				}
 			}
-		} catch (ClassNotFoundException e) {
-			e.printStackTrace();
-		} catch (ApplicationSettingsException e) {
-			e.printStackTrace();
-		} catch (InstantiationException e) {
-			e.printStackTrace();
-		} catch (IllegalAccessException e) {
-			e.printStackTrace();
-		} catch (RegistryException e) {
-			e.printStackTrace();
-		} catch (OrchestratorException e) {
-			e.printStackTrace();
-		} catch (AppCatalogException e) {
-			// TODO Auto-generated catch block
-			e.printStackTrace();
-		}
-		return false;
+		} catch (Exception e) {
+            throw new TException(e);
+        }
+        return false;
 	}
 
 	private ApplicationDeploymentDescription getAppDeployment(


Mime
View raw message