Uploaded image for project: 'Airavata'
  1. Airavata
  2. AIRAVATA-659

Airavata Client Exception handling

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Critical
    • Resolution: Fixed
    • 0.5
    • 0.9
    • Airavata Client
    • None

    Description

      Airavata client have runWorkflow method where exceptions are not handled property. similar patterns are followed in other methods of airavata client.

      public String runWorkflow(String topic, String user, String metadata,
      String workflowInstanceName, WorkflowContextHeaderBuilder builder) throws AiravataConfigurationException {
      String worflowoutput = null;
      try

      { WorkflowInterpretorStub stub = new WorkflowInterpretorStub( getClientConfiguration().getXbayaServiceURL().toString()); OMElement omElement = AXIOMUtil.stringToOM(XMLUtil .xmlElementToString(builder.getXml())); stub._getServiceClient().addHeader(omElement); worflowoutput = stub.launchWorkflow(workflow, topic, null); runPreWorkflowExecutionTasks(worflowoutput, user, metadata, workflowInstanceName); }

      catch (AxisFault e) {

      } catch (RemoteException e)

      { // log.fine(e.getMessage(), e); } catch (RegistryException e) { // log.fine(e.getMessage(), e); }

      catch (XMLStreamException e)

      { e.printStackTrace(); // To change body of catch statement use File | // Settings | File Templates. }

      Attachments

        Activity

          People

            raminder Raminderjeet Singh
            raminder Raminderjeet Singh
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: