You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@nifi.apache.org by "ASF GitHub Bot (JIRA)" <ji...@apache.org> on 2016/07/12 14:18:20 UTC
[jira] [Commented] (NIFI-2228) FlowFileHandlingException should
extend RuntimeException, not ProcessException
[ https://issues.apache.org/jira/browse/NIFI-2228?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15372945#comment-15372945 ]
ASF GitHub Bot commented on NIFI-2228:
--------------------------------------
GitHub user markap14 opened a pull request:
https://github.com/apache/nifi/pull/630
NIFI-2228: Change FlowFileHandlingException to extend from RuntimeExc…
…eption instead of ProcessException
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/markap14/nifi NIFI-2228
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/nifi/pull/630.patch
To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:
This closes #630
----
commit 4ef9d7d2f3c3dd02531226b50c42864292d64244
Author: Mark Payne <ma...@hotmail.com>
Date: 2016-07-12T14:17:52Z
NIFI-2228: Change FlowFileHandlingException to extend from RuntimeException instead of ProcessException
----
> 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)