Package org.apache.airavata.registry.api.exception.worker

Examples of org.apache.airavata.registry.api.exception.worker.InvalidApplicationJobIDException


  public void addApplicationJob(ApplicationJob job) throws RegistryException {
    if (provenanceRegistry != null){
            provenanceRegistry.addApplicationJob(job);
        }
    if (job.getJobId()==null || job.getJobId().equals("")){
      throw new InvalidApplicationJobIDException();
    }
    if (isApplicationJobExists(job.getJobId())){
      throw new ApplicationJobAlreadyExistsException(job.getJobId());
    }
//    if (!isWorkflowInstanceNodePresent(job.getWorkflowExecutionId(), job.getNodeId())){
View Full Code Here


  private GFacJobDataResource validateAndGetGFacJob(String jobId)
      throws InvalidApplicationJobIDException, RegistryException,
      ApplicationJobDoesNotExistsException {
    if (jobId==null || jobId.equals("")){
      throw new InvalidApplicationJobIDException();
    }
    if (!isApplicationJobExists(jobId)){
      throw new ApplicationJobDoesNotExistsException(jobId);
    }
    GFacJobDataResource gFacJob = jpa.getWorker().getGFacJob(jobId);
View Full Code Here

  public void addApplicationJob(ApplicationJob job) throws RegistryException {
    if (provenanceRegistry != null){
            provenanceRegistry.addApplicationJob(job);
        }
    if (job.getJobId()==null || job.getJobId().equals("")){
      throw new InvalidApplicationJobIDException();
    }
    if (isApplicationJobExists(job.getJobId())){
      throw new ApplicationJobAlreadyExistsException(job.getJobId());
    }
//    if (!isWorkflowInstanceNodePresent(job.getWorkflowExecutionId(), job.getNodeId())){
View Full Code Here

  private GFacJobDataResource validateAndGetGFacJob(String jobId)
      throws InvalidApplicationJobIDException, RegistryException,
      ApplicationJobDoesNotExistsException {
    if (jobId==null || jobId.equals("")){
      throw new InvalidApplicationJobIDException();
    }
    if (!isApplicationJobExists(jobId)){
      throw new ApplicationJobDoesNotExistsException(jobId);
    }
    GFacJobDataResource gFacJob = jpa.getWorker().getGFacJob(jobId);
View Full Code Here

  public void addApplicationJob(ApplicationJob job) throws RegistryException {
    if (provenanceRegistry != null){
            provenanceRegistry.addApplicationJob(job);
        }
    if (job.getJobId()==null || job.getJobId().equals("")){
      throw new InvalidApplicationJobIDException();
    }
    if (isApplicationJobExists(job.getJobId())){
      throw new ApplicationJobAlreadyExistsException(job.getJobId());
    }
//    if (!isWorkflowInstanceNodePresent(job.getWorkflowExecutionId(), job.getNodeId())){
View Full Code Here

  private GFacJobDataResource validateAndGetGFacJob(String jobId)
      throws InvalidApplicationJobIDException, RegistryException,
      ApplicationJobDoesNotExistsException {
    if (jobId==null || jobId.equals("")){
      throw new InvalidApplicationJobIDException();
    }
    if (!isApplicationJobExists(jobId)){
      throw new ApplicationJobDoesNotExistsException(jobId);
    }
    GFacJobDataResource gFacJob = jpa.getWorker().getGFacJob(jobId);
View Full Code Here

  public void addApplicationJob(ApplicationJob job) throws RegistryException {
    if (provenanceRegistry != null){
            provenanceRegistry.addApplicationJob(job);
        }
    if (job.getJobId()==null || job.getJobId().equals("")){
      throw new InvalidApplicationJobIDException();
    }
    if (isApplicationJobExists(job.getJobId())){
      throw new ApplicationJobAlreadyExistsException(job.getJobId());
    }
//    if (!isWorkflowInstanceNodePresent(job.getWorkflowExecutionId(), job.getNodeId())){
View Full Code Here

  private GFacJobDataResource validateAndGetGFacJob(String jobId)
      throws InvalidApplicationJobIDException, RegistryException,
      ApplicationJobDoesNotExistsException {
    if (jobId==null || jobId.equals("")){
      throw new InvalidApplicationJobIDException();
    }
    if (!isApplicationJobExists(jobId)){
      throw new ApplicationJobDoesNotExistsException(jobId);
    }
    GFacJobDataResource gFacJob = jpa.getWorker().getGFacJob(jobId);
View Full Code Here

TOP

Related Classes of org.apache.airavata.registry.api.exception.worker.InvalidApplicationJobIDException

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.