You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@falcon.apache.org by "Praveen Adlakha (JIRA)" <ji...@apache.org> on 2016/12/20 10:11:58 UTC
[jira] [Created] (FALCON-2227) Intitutive error handling in Falcon
Client
Praveen Adlakha created FALCON-2227:
---------------------------------------
Summary: Intitutive error handling in Falcon Client
Key: FALCON-2227
URL: https://issues.apache.org/jira/browse/FALCON-2227
Project: Falcon
Issue Type: Sub-task
Reporter: Praveen Adlakha
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)