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:10:34 UTC

[jira] [Commented] (DIRMINA-992) NioSocketConnector.newHandle throws the wrong exception

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

Emmanuel Lecharny commented on DIRMINA-992:
-------------------------------------------

Thanks for the report ! The exception is correctly send in the three other classes ( for Datagram acceptor and connector and for the SicketAcceptor) butsadly not for the SockectConnector.

I just pushed a fix for that.


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