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

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


            }
                    }
                }
            }
        } catch (Exception e) {
            throw new RegistryException("Error while retrieving workflow execution service data!!!",e);
        } finally {
            closeSession(session);
        }
        return workflowIODataList;
    }
View Full Code Here


        }
      }
      property=new WorkflowExecutionStatus(status, date);
            session.save();
        } catch (Exception e) {
            throw new RegistryException("Error while retrieving workflow execution status!!!", e);
        } finally {
            closeSession(session);
        }
        return property;
    }
View Full Code Here

          session);
      resultNode.setProperty(outputNodeName, output);
      session.save();
    } catch (RepositoryException e) {
      e.printStackTrace();
      throw new RegistryException(e);
    }finally{
      closeSession(session);
    }
      return true;
  }
View Full Code Here

        return null;
      }
      return new WorkflowIOData(outputNodeName,outputProperty.getString());
    } catch (RepositoryException e) {
      e.printStackTrace();
      throw new RegistryException(e);
    }finally{
      closeSession(session);
    }
    }
View Full Code Here

            outputNames.add(nextProperty.getName());
                }
      }
    } catch (RepositoryException e) {
      e.printStackTrace();
      throw new RegistryException(e);
    }finally{
      closeSession(session);
    }
        return outputNames.toArray(new String[]{});
    }
View Full Code Here

                WorkflowExecutionStatus workflowStatus = getWorkflowExecutionStatus(experimentId);
                workflowStatusMap.put(experimentId,workflowStatus);
            }
    } catch (RepositoryException e) {
            e.printStackTrace();
            throw new RegistryException(e);
        }finally{
            closeSession(session);
        }
        return workflowStatusMap;
    }
View Full Code Here

      URL url = new URL(urlString);
      URLConnection conn = url.openConnection();
      conn.connect();
    } catch (MalformedURLException e) {
      // the URL is not in a valid form
      throw new RegistryException("Given Axis2 Service URL : "
          + urlString + " is Invalid", e);
    } catch (IOException e) {
      // the connection couldn't be established
      throw new RegistryException("Given Axis2 Service URL : "
          + urlString + " is Invalid", e);
    }
    return originalURL;
  }
View Full Code Here

      URL url = new URL(urlString);
      URLConnection conn = url.openConnection();
      conn.connect();
    } catch (MalformedURLException e) {
      // the URL is not in a valid form
      throw new RegistryException("Given URL: " + urlString
          + " is Invalid", e);
    } catch (IOException e) {
      // the connection couldn't be established
      throw new RegistryException("Given URL: " + urlString
          + " is Invalid", e);
    }
    return urlString;
  }
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.