mina-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Emmanuel Lecharny (JIRA)" <j...@apache.org>
Subject [jira] [Resolved] (DIRMINA-992) NioSocketConnector.newHandle throws the wrong exception
Date Thu, 30 Oct 2014 13:11:33 GMT

     [ https://issues.apache.org/jira/browse/DIRMINA-992?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Emmanuel Lecharny resolved DIRMINA-992.
---------------------------------------
    Resolution: Fixed

Fixed with commit d56e27f6b31c7b776f401f942d69bad29fbebac4

> 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
>
> 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)

Mime
View raw message