airavata-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From samin...@apache.org
Subject svn commit: r1486078 - /airavata/trunk/modules/integration-tests/src/test/java/org/apache/airavata/integration/BaseCaseIT.java
Date Fri, 24 May 2013 14:34:51 GMT
Author: samindaw
Date: Fri May 24 14:34:51 2013
New Revision: 1486078

URL: http://svn.apache.org/r1486078
Log:
updating catch exception

Modified:
    airavata/trunk/modules/integration-tests/src/test/java/org/apache/airavata/integration/BaseCaseIT.java

Modified: airavata/trunk/modules/integration-tests/src/test/java/org/apache/airavata/integration/BaseCaseIT.java
URL: http://svn.apache.org/viewvc/airavata/trunk/modules/integration-tests/src/test/java/org/apache/airavata/integration/BaseCaseIT.java?rev=1486078&r1=1486077&r2=1486078&view=diff
==============================================================================
--- airavata/trunk/modules/integration-tests/src/test/java/org/apache/airavata/integration/BaseCaseIT.java
(original)
+++ airavata/trunk/modules/integration-tests/src/test/java/org/apache/airavata/integration/BaseCaseIT.java
Fri May 24 14:34:51 2013
@@ -38,6 +38,7 @@ import org.apache.airavata.client.api.Ex
 import org.apache.airavata.client.api.builder.DescriptorBuilder;
 import org.apache.airavata.client.api.exception.AiravataAPIInvocationException;
 import org.apache.airavata.client.api.exception.DescriptorAlreadyExistsException;
+import org.apache.airavata.client.api.exception.WorkflowAlreadyExistsException;
 import org.apache.airavata.common.utils.Version;
 import org.apache.airavata.commons.gfac.type.ApplicationDescription;
 import org.apache.airavata.commons.gfac.type.HostDescription;
@@ -365,7 +366,7 @@ public class BaseCaseIT {
         try {
             airavataAPI.getWorkflowManager().addWorkflow(workflow);
             Assert.fail("Workflow should already exists and should go to update.");
-        } catch (DescriptorAlreadyExistsException e) {
+        } catch (WorkflowAlreadyExistsException e) {
 
             log("Updating workflow...");
             airavataAPI.getWorkflowManager().updateWorkflow(workflow);



Mime
View raw message