Package org.apache.airavata.client.api.exception

Examples of org.apache.airavata.client.api.exception.AiravataAPIInvocationException


  public int addWorkflowExecutionError(WorkflowExecutionError error)
      throws AiravataAPIInvocationException {
    try {
      return getClient().getRegistryClient().addWorkflowExecutionError(error);
    } catch (Exception e) {
      throw new AiravataAPIInvocationException(e);
    }
  }
View Full Code Here


  public int addNodeExecutionError(NodeExecutionError error)
      throws AiravataAPIInvocationException {
    try {
      return getClient().getRegistryClient().addNodeExecutionError(error);
    } catch (Exception e) {
      throw new AiravataAPIInvocationException(e);
    }
  }
View Full Code Here

  public int addApplicationJobExecutionError(ApplicationJobExecutionError error)
      throws AiravataAPIInvocationException {
    try {
      return getClient().getRegistryClient().addApplicationJobExecutionError(error);
    } catch (Exception e) {
      throw new AiravataAPIInvocationException(e);
    }
  }
View Full Code Here

      // airavata
      // client is
      // logged in to the Airavata system
      setCurrentUser(getClientConfiguration().getJcrUsername());
    } catch (Exception e) {
      throw new AiravataAPIInvocationException(
          "Error while initializing the Airavata API", e);
    }
  }
View Full Code Here

                protocol = getRegitryURI().toURL().getProtocol();
            } catch (MalformedURLException e) {
                String msg = "Error retrieving protocol from registry URI - "
                        + getRegitryURI().toString();
                log.error(msg, e);
                throw new AiravataAPIInvocationException(msg, e);
            }

            StringBuilder registryServiceUrlString = new StringBuilder(protocol);
            registryServiceUrlString.append("://").append(hostName).append(":").append(port);
            registryServiceUrlString.append("/axis2/services/RegistryService?wsdl");
View Full Code Here

            if (!registryServiceStarted) {
                try {
                    if (iterations == WAIT_ITERATIONS) {
                        if (exception != null) {
                            throw new AiravataAPIInvocationException("Unable to connect to RegistryService. " +
                                    "RegistryService may not have started", exception);
                        } else {
                            throw new AiravataAPIInvocationException("Unable to connect to RegistryService. " +
                                    "RegistryService may not have started");
                        }

                    } else {
                        Thread.sleep(WAIT_TIME_PERIOD);
View Full Code Here

          }
        });
      }
      return monitor;
    } catch (URISyntaxException e) {
      throw new AiravataAPIInvocationException(e);
    }
  }
View Full Code Here

//    }  catch (GraphException e) {
//      throw new AiravataAPIInvocationException(e);
//    } catch (ComponentException e) {
//      throw new AiravataAPIInvocationException(e);
    } catch (Exception e) {
          throw new AiravataAPIInvocationException("Error working with Airavata Registry: " + e.getLocalizedMessage(), e);
      }
  }
View Full Code Here

  public List<ExperimentExecutionError> getExperimentExecutionErrors(
      String experimentId) throws AiravataAPIInvocationException {
    try {
      return getClient().getRegistryClient().getExperimentExecutionErrors(experimentId);
    } catch (Exception e) {
      throw new AiravataAPIInvocationException(e);
    }
  }
View Full Code Here

      throws AiravataAPIInvocationException {
    try {
      return getClient().getRegistryClient().getWorkflowExecutionErrors(experimentId,
          workflowInstanceId);
    } catch (Exception e) {
      throw new AiravataAPIInvocationException(e);
    }
  }
View Full Code Here

TOP

Related Classes of org.apache.airavata.client.api.exception.AiravataAPIInvocationException

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.