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

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


        }
    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())){
//      throw new WorkflowInstanceNodeDoesNotExistsException(job.getWorkflowExecutionId(), job.getNodeId());
//    }
    ExperimentDataResource expData = jpa.getWorker().getExperiment(job.getExperimentId()).getData();
View Full Code Here


        }
    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())){
//      throw new WorkflowInstanceNodeDoesNotExistsException(job.getWorkflowExecutionId(), job.getNodeId());
//    }
    ExperimentDataResource expData = jpa.getWorker().getExperiment(job.getExperimentId()).getData();
View Full Code Here

        }
    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())){
//      throw new WorkflowInstanceNodeDoesNotExistsException(job.getWorkflowExecutionId(), job.getNodeId());
//    }
    ExperimentDataResource expData = jpa.getWorker().getExperiment(job.getExperimentId()).getData();
View Full Code Here

        }
    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())){
//      throw new WorkflowInstanceNodeDoesNotExistsException(job.getWorkflowExecutionId(), job.getNodeId());
//    }
    ExperimentDataResource expData = jpa.getWorker().getExperiment(job.getExperimentId()).getData();
View Full Code Here

TOP

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

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.