airavata-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Marlon Pierce (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (AIRAVATA-1142) getAllExperimentsInProject throws exeption instead of empty result
Date Tue, 20 May 2014 15:12:39 GMT

    [ https://issues.apache.org/jira/browse/AIRAVATA-1142?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14003414#comment-14003414
] 

Marlon Pierce commented on AIRAVATA-1142:
-----------------------------------------

This is still returning an empty array rather than an exception.  I think the exception the
right thing to return.

> getAllExperimentsInProject throws exeption instead of empty result
> ------------------------------------------------------------------
>
>                 Key: AIRAVATA-1142
>                 URL: https://issues.apache.org/jira/browse/AIRAVATA-1142
>             Project: Airavata
>          Issue Type: Bug
>          Components: Airavata Client
>    Affects Versions: 0.12
>         Environment: PHP Java
>            Reporter: David Reagan
>             Fix For: 0.12
>
>
> If you ask for a project that doesn't exist, an AiravataSystemException is thrown instead
of returning an empty array.
> Fatal error: Uncaught exception 'Airavata\API\Error\AiravataSystemException' in C:\wamp\www\Airavata-PHP-Client-Samples\lib\Airavata\API\Airavata.php
on line 2280



--
This message was sent by Atlassian JIRA
(v6.2#6252)

Mime
View raw message