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

ASF GitHub Bot commented on NIFI-2228:
--------------------------------------

Github user JPercivall commented on the issue:

    https://github.com/apache/nifi/pull/630
  
    +1
    
    Change in line with documentation. Passed contrib-check build. Checked that 
everything starts up properly by running a secure cluster. Also double checked 
that nothing was using FlowFileHandlingException for something other than what 
it was intended for. 
    
    Will merge it in.


> FlowFileHandlingException should extend RuntimeException, not ProcessException
> ------------------------------------------------------------------------------
>
>                 Key: NIFI-2228
>                 URL: https://issues.apache.org/jira/browse/NIFI-2228
>             Project: Apache NiFi
>          Issue Type: Bug
>          Components: Core Framework
>            Reporter: Mark Payne
>            Assignee: Mark Payne
>             Fix For: 1.0.0
>
>
> Currently, FlowFileHandlingException extends ProcessException, but it is 
> clearly documented to indicate that this Exception will be thrown only when 
> there is a bug in the processor code. As a result, it should not extend 
> ProcessException because ProcessException is recommended to be handled by 
> processor code, and a processor should not handle an exception indicating 
> that the processor itself is buggy.



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

Reply via email to