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

ASF subversion and git services commented on NIFI-2228:
-------------------------------------------------------

Commit d403254b49ed492a24a55e72a8f6f0499312d3d5 in nifi's branch 
refs/heads/master from [~markap14]
[ https://git-wip-us.apache.org/repos/asf?p=nifi.git;h=d403254 ]

NIFI-2228: Change FlowFileHandlingException to extend from RuntimeException 
instead of ProcessException

This closes #630

Signed-off-by: jpercivall <joeperciv...@yahoo.com>


> 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