airavata-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Marcus Christie (JIRA)" <j...@apache.org>
Subject [jira] [Created] (AIRAVATA-2873) getExperiment should throw ExperimentNotFoundException when experiment not found
Date Fri, 17 Aug 2018 20:25:00 GMT
Marcus Christie created AIRAVATA-2873:
-----------------------------------------

             Summary: getExperiment should throw ExperimentNotFoundException when experiment
not found
                 Key: AIRAVATA-2873
                 URL: https://issues.apache.org/jira/browse/AIRAVATA-2873
             Project: Airavata
          Issue Type: Bug
          Components: Airavata API
            Reporter: Marcus Christie


Currently getExperiment catches the registry's ExperimentNotFoundException and rethrows it
as an AiravataSystemException.  Clients like the PGA expect that an ExperimentNotFoundException
would be thrown if the experiment with that id doesn't exist.

This affects other methods too:
* deleteExperiment
* getExperimentByAdmin
* updateExperiment

By contract, launchExperiment does handle it correctly by rethrowing the ExperimentNotFoundException.





--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Mime
View raw message