airavata-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From lah...@apache.org
Subject svn commit: r1345203 - /incubator/airavata/branches/0.3-incubating-snapshot/modules/gfac-core/src/main/java/org/apache/airavata/core/gfac/provider/impl/GramProvider.java
Date Fri, 01 Jun 2012 14:33:06 GMT
Author: lahiru
Date: Fri Jun  1 14:33:06 2012
New Revision: 1345203

URL: http://svn.apache.org/viewvc?rev=1345203&view=rev
Log:
remvong unwanted exception.

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=1345203&r1=1345202&r2=1345203&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  1 14:33:06 2012
@@ -74,6 +74,8 @@ public class GramProvider extends Abstra
             gssContext = (GSISecurityContext)invocationContext.getSecurityContext(MYPROXY_SECURITY_CONTEXT);
             GSSCredential gssCred = gssContext.getGssCredentails();
             String[] hostgridFTP = host.getGridFTPEndPointArray();
+
+
             if (hostgridFTP == null || hostgridFTP.length == 0) {
                 hostgridFTP = new String[] { host.getHostAddress() };
             }
@@ -232,6 +234,7 @@ public class GramProvider extends Abstra
 
         } catch (GramException e) {
             invocationContext.getExecutionContext().getNotifier().executionFail(invocationContext,e,e.getMessage());
+            throw new ProviderException(e.getMessage(), e);
         } catch (GSSException e) {
             invocationContext.getExecutionContext().getNotifier().executionFail(invocationContext,e,e.getMessage());
             throw new ProviderException(e.getMessage(), e);
@@ -246,7 +249,8 @@ public class GramProvider extends Abstra
                 try {
                     job.cancel();
                 } catch (Exception e) {
-                    invocationContext.getExecutionContext().getNotifier().executionFail(invocationContext,e,e.getMessage());
+//                    invocationContext.getExecutionContext().getNotifier().executionFail(invocationContext,e,e.getMessage());
+//                    throw new ProviderException(e.getMessage(), e);
                 }
             }
         }



Mime
View raw message