[
https://issues.apache.org/jira/browse/ZOOKEEPER-1052?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Flavio Junqueira updated ZOOKEEPER-1052:
----------------------------------------
Attachment: ZOOKEEPER-1052.patch
This patch splits the previous Exception into IOException and RuntimeException.
We need to catch IOException, since it is thrown inside the block, and we also
want to catch RuntimeExceptions so that we can warn an operator about the
responder thread dying. Findbugs does not like having a block catching
exception.
> Findbugs warning in QuorumPeer.ResponderThread.run()
> ----------------------------------------------------
>
> Key: ZOOKEEPER-1052
> URL: https://issues.apache.org/jira/browse/ZOOKEEPER-1052
> Project: ZooKeeper
> Issue Type: Bug
> Affects Versions: 3.3.2
> Reporter: Flavio Junqueira
> Assignee: Flavio Junqueira
> Fix For: 3.4.0
>
> Attachments: ZOOKEEPER-1052.patch
>
>
> {noformat}
> REC Exception is caught when Exception is not thrown in
> org.apache.zookeeper.server.quorum.QuorumPeer$ResponderThread.run()
> {noformat}
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira