You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@mina.apache.org by "Emmanuel Lecharny (JIRA)" <ji...@apache.org> on 2014/10/30 14:11:34 UTC
[jira] [Updated] (DIRMINA-992) NioSocketConnector.newHandle throws
the wrong exception
[ https://issues.apache.org/jira/browse/DIRMINA-992?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Emmanuel Lecharny updated DIRMINA-992:
--------------------------------------
Fix Version/s: 2.0.10
> NioSocketConnector.newHandle throws the wrong exception
> -------------------------------------------------------
>
> Key: DIRMINA-992
> URL: https://issues.apache.org/jira/browse/DIRMINA-992
> Project: MINA
> Issue Type: Bug
> Components: Core
> Affects Versions: 2.0.9
> Reporter: Attila Kelemen
> Priority: Minor
> Fix For: 2.0.10
>
>
> NioSocketConnector.newHandle creates an IOException which is then not used. I assume this meant to be thrown instead of the original exception. That is "throw ioe;" should be replaced with "throw e"; (or simply rethrow the original exception, so that the current behaviour does not change).
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)