Package org.apache.airavata.registry.cpi

Examples of org.apache.airavata.registry.cpi.RegistryException


        try {
            ExperimentResource experiment = gatewayResource.getExperiment(experimentId);
            experiment.remove(ResourceType.CONFIG_DATA, experimentId);
        } catch (Exception e) {
            logger.error("Error while removing experiment config..", e);
            throw new RegistryException(e);
        }
    }
View Full Code Here


        try {
            ExperimentResource experiment = (ExperimentResource) gatewayResource.create(ResourceType.EXPERIMENT);
            experiment.remove(ResourceType.WORKFLOW_NODE_DETAIL, nodeId);
        } catch (Exception e) {
            logger.error("Error while removing workflow node..", e);
            throw new RegistryException(e);
        }
    }
View Full Code Here

            ExperimentResource experiment = (ExperimentResource) gatewayResource.create(ResourceType.EXPERIMENT);
            WorkflowNodeDetailResource nodeDetailResource = (WorkflowNodeDetailResource) experiment.create(ResourceType.WORKFLOW_NODE_DETAIL);
            nodeDetailResource.remove(ResourceType.TASK_DETAIL, taskId);
        } catch (Exception e) {
            logger.error("Error while removing task details..", e);
            throw new RegistryException(e);
        }
    }
View Full Code Here

            WorkflowNodeDetailResource nodeDetailResource = (WorkflowNodeDetailResource) experiment.create(ResourceType.WORKFLOW_NODE_DETAIL);
            TaskDetailResource taskDetailResource = nodeDetailResource.getTaskDetail((String) ids.getTopLevelIdentifier());
            taskDetailResource.remove(ResourceType.JOB_DETAIL, (String) ids.getSecondLevelIdentifier());
        } catch (Exception e) {
            logger.error("Error while removing job details..", e);
            throw new RegistryException(e);
        }
    }
View Full Code Here

            WorkflowNodeDetailResource nodeDetailResource = (WorkflowNodeDetailResource) experiment.create(ResourceType.WORKFLOW_NODE_DETAIL);
            TaskDetailResource taskDetail = (TaskDetailResource) nodeDetailResource.create(ResourceType.TASK_DETAIL);
            taskDetail.remove(ResourceType.DATA_TRANSFER_DETAIL, transferId);
        } catch (Exception e) {
            logger.error("Error while removing transfer details..", e);
            throw new RegistryException(e);
        }
    }
View Full Code Here

                default:
                    logger.error("Unsupported data type...");
            }
        } catch (Exception e) {
            logger.error("Error while removing scheduling data..", e);
            throw new RegistryException(e);
        }
    }
View Full Code Here

                default:
                    logger.error("Unsupported data type...");
            }
        } catch (Exception e) {
            logger.error("Error while removing input data handling..", e);
            throw new RegistryException(e);
        }
    }
View Full Code Here

                default:
                    logger.error("Unsupported data type...");
            }
        } catch (Exception e) {
            logger.error("Error while removing output data handling..", e);
            throw new RegistryException(e);
        }
    }
View Full Code Here

                default:
                    logger.error("Unsupported data type...");
            }
        } catch (Exception e) {
            logger.error("Error while removing QOS params", e);
            throw new RegistryException(e);
        }
    }
View Full Code Here

    public boolean isExperimentExist(String expID) throws RegistryException {
        try {
            return gatewayResource.isExists(ResourceType.EXPERIMENT, expID);
        } catch (Exception e) {
            logger.error("Error while retrieving experiment...", e);
            throw new RegistryException(e);
        }
    }
View Full Code Here

TOP

Related Classes of org.apache.airavata.registry.cpi.RegistryException

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.