airavata-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ramin...@apache.org
Subject svn commit: r1414394 - /airavata/trunk/modules/gfac-core/src/main/java/org/apache/airavata/core/gfac/services/impl/PropertiesBasedServiceImpl.java
Date Tue, 27 Nov 2012 20:41:49 GMT
Author: raminder
Date: Tue Nov 27 20:41:49 2012
New Revision: 1414394

URL: http://svn.apache.org/viewvc?rev=1414394&view=rev
Log:
Changed exception handling

Modified:
    airavata/trunk/modules/gfac-core/src/main/java/org/apache/airavata/core/gfac/services/impl/PropertiesBasedServiceImpl.java

Modified: airavata/trunk/modules/gfac-core/src/main/java/org/apache/airavata/core/gfac/services/impl/PropertiesBasedServiceImpl.java
URL: http://svn.apache.org/viewvc/airavata/trunk/modules/gfac-core/src/main/java/org/apache/airavata/core/gfac/services/impl/PropertiesBasedServiceImpl.java?rev=1414394&r1=1414393&r2=1414394&view=diff
==============================================================================
--- airavata/trunk/modules/gfac-core/src/main/java/org/apache/airavata/core/gfac/services/impl/PropertiesBasedServiceImpl.java
(original)
+++ airavata/trunk/modules/gfac-core/src/main/java/org/apache/airavata/core/gfac/services/impl/PropertiesBasedServiceImpl.java
Tue Nov 27 20:41:49 2012
@@ -23,6 +23,7 @@ package org.apache.airavata.core.gfac.se
 
 import org.apache.airavata.client.AiravataAPIFactory;
 import org.apache.airavata.client.api.AiravataAPI;
+import org.apache.airavata.client.api.AiravataAPIInvocationException;
 import org.apache.airavata.common.workflow.execution.context.WorkflowContextHeaderBuilder;
 import org.apache.airavata.core.gfac.context.invocation.InvocationContext;
 import org.apache.airavata.core.gfac.context.invocation.impl.DefaultExecutionContext;
@@ -253,11 +254,7 @@ public class PropertiesBasedServiceImpl 
                     airavataAPI = AiravataAPIFactory.getAPI(gateway, regUser);
                 } catch (URISyntaxException e) {
                     e.printStackTrace();
-                } catch (RepositoryException e) {
-                    e.printStackTrace();
-                } catch (MalformedURLException e) {
-                    e.printStackTrace();
-                } catch (RegistryException e) {
+                } catch (AiravataAPIInvocationException e) {
                     e.printStackTrace();
                 }
 



Mime
View raw message