Package org.apache.airavata.registry.cpi

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


                resource.setMetadata(output.getMetaData());
                resource.save();
            }
        } catch (Exception e) {
            logger.error("Error while adding node outputs...", e);
            throw new RegistryException(e);
        }
        return (String) ids.getSecondLevelIdentifier();
    }
View Full Code Here


                    resource.save();
                }
            }
        } catch (Exception e) {
            logger.error("Error while updating node outputs...", e);
            throw new RegistryException(e);
        }
    }
View Full Code Here

                resource.setMetadata(output.getMetaData());
                resource.save();
            }
        } catch (Exception e) {
            logger.error("Error while adding application outputs...", e);
            throw new RegistryException(e);
        }
        return (String) ids.getSecondLevelIdentifier();
    }
View Full Code Here

            }
            status.setStatusType(StatusType.EXPERIMENT.toString());
            status.save();
        } catch (Exception e) {
            logger.error("Error while updating experiment status...", e);
            throw new RegistryException(e);
        }
        return expId;
    }
View Full Code Here

            }
            statusResource.save();
            return String.valueOf(statusResource.getStatusId());
        } catch (Exception e) {
            logger.error("Error while adding workflow node status...", e);
            throw new RegistryException(e);
        }
    }
View Full Code Here

            statusResource.setState(status.getWorkflowNodeState().toString());
            statusResource.save();
            return String.valueOf(statusResource.getStatusId());
        } catch (Exception e) {
            logger.error("Error whilw updating workflow node status...", e);
            throw new RegistryException(e);
        }
    }
View Full Code Here

            }
            statusResource.save();
            return String.valueOf(statusResource.getStatusId());
        } catch (Exception e) {
            logger.error("Error while adding task status...", e);
            throw new RegistryException(e);
        }
    }
View Full Code Here

            statusResource.setStatusUpdateTime(AiravataUtils.getTime(status.getTimeOfStateChange()));
            statusResource.setState(status.getExecutionState().toString());
            statusResource.save();
        } catch (Exception e) {
            logger.error("Error while updating task status...", e);
            throw new RegistryException(e);
        }
    }
View Full Code Here

            }
            statusResource.save();
            return String.valueOf(statusResource.getStatusId());
        } catch (Exception e) {
            logger.error("Error while adding job status...", e);
            throw new RegistryException(e);
        }
    }
View Full Code Here

            statusResource.setState(status.getJobState().toString());
            statusResource.save();
            return String.valueOf(statusResource.getStatusId());
        } catch (Exception e) {
            logger.error("Error while updating job status...", 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.