falcon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "ASF GitHub Bot (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (FALCON-2227) Intitutive error handling in Falcon Client
Date Mon, 26 Dec 2016 09:33:58 GMT

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

ASF GitHub Bot commented on FALCON-2227:
----------------------------------------

Github user asfgit closed the pull request at:

    https://github.com/apache/falcon/pull/326


> 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