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

Examples of org.apache.airavata.common.registry.api.exception.RegistryException


            eachLine.append(name.getNamespaceURI());
            Node workflow = workflows.get(name);
            try {
                xwf = XMLUtil.stringToXmlElement(workflow.getProperty("workflow").getString());
            } catch (RepositoryException e) {
                throw new RegistryException("Error while parsing workflow Content",e)//To change body of catch statement use File | Settings | File Templates.
            }
            eachLine.append(XMLUtil.xmlElementToString(xwf));
            list.add(eachLine.toString());
        }
        return list;
View Full Code Here


        Node workflow = registry.getWorkflow(templateID, userName);
        XmlElement xwf = null;
        try {
            xwf = XMLUtil.stringToXmlElement(workflow.getProperty("workflow").getString());
        } catch (RepositoryException e) {
            throw new RegistryException("Error while parsing workflow Content",e)//To change body of catch statement use File | Settings | File Templates.
        }
        return XMLUtil.xmlElementToString(xwf);
    }
View Full Code Here

              WorkflowIOData workflowOutputData = getWorkflowExecutionOutput(experimentId,outputName);
                workflowStatusMap.put(experimentId,workflowOutputData);
            }
    } catch (RepositoryException e) {
            e.printStackTrace();
            throw new RegistryException(e);
        }finally{
            closeSession(session);
        }
        return workflowStatusMap;
    }
View Full Code Here

                String[] workflowOutputData = getWorkflowExecutionOutputNames(experimentId);
                workflowStatusMap.put(experimentId,workflowOutputData);
            }
    } catch (RepositoryException e) {
            e.printStackTrace();
            throw new RegistryException(e);
        }finally{
            closeSession(session);
        }
        return workflowStatusMap;
    }
View Full Code Here

        if (user==null || user.equals(getWorkflowExecutionUser(id))){
          ids.add(id);
        }
      }
    } catch (RepositoryException e) {
      throw new RegistryException("Error in retrieving Execution Ids for the user '"+user+"'",e);
    }finally{
      closeSession(session);
    }
    return ids;
  }
View Full Code Here

        property = workflowDataNode.getProperty(
            WORKFLOW_METADATA_PROPERTY).getString();
      }
      session.save();
        } catch (Exception e) {
            throw new RegistryException("Error while retrieving workflow metadata!!!", e);
        } finally {
            closeSession(session);
        }
        return property;
  }
View Full Code Here

            result = node.getIdentifier();
//            triggerObservers(this);
        } catch (Exception e) {
            System.out.println(e);
            throw new RegistryException("Error while saving host description!!!", e);
        } finally {
            closeSession(session);
        }
        return result;
    }
View Full Code Here

            result = node.getIdentifier();
//            triggerObservers(this);
        } catch (Exception e) {
            System.out.println(e);
            throw new RegistryException("Error while saving service description!!!", e);
        } finally {
            closeSession(session);
        }
        return result;
    }
View Full Code Here

            session.save();
            result = appName.getIdentifier();
//            triggerObservers(this);
        } catch (Exception e) {
            System.out.println(e);
            throw new RegistryException("Error while saving deployment description!!!", e);
        } finally {
            closeSession(session);
        }
        return result;
    }
View Full Code Here

            session.save();
            return true;
        } catch (Exception e) {
            System.out.println(e);
            throw new RegistryException("Error while saving service on host!!!", e);
        } finally {
            closeSession(session);
        }
    }
View Full Code Here

TOP

Related Classes of org.apache.airavata.common.registry.api.exception.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.