You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@mina.apache.org by "Attila Kelemen (JIRA)" <ji...@apache.org> on 2014/10/30 13:32:33 UTC

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

Attila Kelemen created DIRMINA-992:
--------------------------------------

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