airavata-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From lah...@apache.org
Subject svn commit: r1350741 - /incubator/airavata/branches/0.3-incubating-snapshot/modules/gfac-core/src/main/java/org/apache/airavata/core/gfac/provider/impl/GramProvider.java
Date Fri, 15 Jun 2012 19:05:59 GMT
Author: lahiru
Date: Fri Jun 15 19:05:58 2012
New Revision: 1350741

URL: http://svn.apache.org/viewvc?rev=1350741&view=rev
Log:
adding more notifications during failure scenario during service invocation.

Modified:
    incubator/airavata/branches/0.3-incubating-snapshot/modules/gfac-core/src/main/java/org/apache/airavata/core/gfac/provider/impl/GramProvider.java

Modified: incubator/airavata/branches/0.3-incubating-snapshot/modules/gfac-core/src/main/java/org/apache/airavata/core/gfac/provider/impl/GramProvider.java
URL: http://svn.apache.org/viewvc/incubator/airavata/branches/0.3-incubating-snapshot/modules/gfac-core/src/main/java/org/apache/airavata/core/gfac/provider/impl/GramProvider.java?rev=1350741&r1=1350740&r2=1350741&view=diff
==============================================================================
--- incubator/airavata/branches/0.3-incubating-snapshot/modules/gfac-core/src/main/java/org/apache/airavata/core/gfac/provider/impl/GramProvider.java
(original)
+++ incubator/airavata/branches/0.3-incubating-snapshot/modules/gfac-core/src/main/java/org/apache/airavata/core/gfac/provider/impl/GramProvider.java
Fri Jun 15 19:05:58 2012
@@ -120,6 +120,7 @@ public class GramProvider extends Abstra
                 throw pe;
             }
         } catch (SecurityException e) {
+            invocationContext.getExecutionContext().getNotifier().executionFail(invocationContext,e,e.getMessage());
             throw new ProviderException(e.getMessage(), e);
         }
     }
@@ -152,6 +153,7 @@ public class GramProvider extends Abstra
             job.addListener(listener);
 
         } catch (ToolsException te) {
+            invocationContext.getExecutionContext().getNotifier().executionFail(invocationContext,te,te.getMessage());
             throw new ProviderException(te.getMessage(), te);
         }
 



Mime
View raw message