falcon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "sandeep samudrala (JIRA)" <j...@apache.org>
Subject [jira] [Assigned] (FALCON-2227) Intitutive error handling in Falcon Client
Date Thu, 22 Dec 2016 05:01:02 GMT

     [ https://issues.apache.org/jira/browse/FALCON-2227?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

sandeep samudrala reassigned FALCON-2227:
-----------------------------------------

    Assignee: sandeep samudrala

> Intitutive error handling in Falcon Client 
> -------------------------------------------
>
>                 Key: FALCON-2227
>                 URL: https://issues.apache.org/jira/browse/FALCON-2227
>             Project: Falcon
>          Issue Type: Sub-task
>          Components: extensions
>            Reporter: Praveen Adlakha
>            Assignee: sandeep samudrala
>
> In submitting extensions we are catching some error and not throwing it:
> {code}
> catch (Exception e) {
>                 OUT.get().println("Error in building the extension");
>                 throw new FalconCLIException("Failed to prepare entities for the given
extension");
>             }
>             if (entities == null || entities.isEmpty()) {
>                 OUT.get().println("No entities got built");
>                 throw new FalconCLIException("Failed to prepare entities for the given
extension");
>             }
> {code}
> Its pretty intuitive to know the error.Please wrap the exception.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message