incubator-awf-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Roger Schildmeijer (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (DEFT-149) IOLoop.start() may throw CancelledKeyException
Date Tue, 06 Sep 2011 14:38:10 GMT

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

Roger Schildmeijer commented on DEFT-149:
-----------------------------------------

Yes, sounds reasonable. I'm not a big fan of catch Exception/Throwable.

Do you propose we close this issue as "won't fix"?

> IOLoop.start() may throw CancelledKeyException
> ----------------------------------------------
>
>                 Key: DEFT-149
>                 URL: https://issues.apache.org/jira/browse/DEFT-149
>             Project: Deft
>          Issue Type: Bug
>            Assignee: Johnathan Meehan
>             Fix For: 0.4.0
>
>
> Exception in thread "I/O-LOOP" java.nio.channels.CancelledKeyException
>         at sun.nio.ch.SelectionKeyImpl.ensureValid(SelectionKeyImpl.java:55)
>         at sun.nio.ch.SelectionKeyImpl.readyOps(SelectionKeyImpl.java:69)
>         at java.nio.channels.SelectionKey.isAcceptable(SelectionKey.java:342)
>         at org.deftserver.io.IOLoop.start(IOLoop.java:77)
> Would it be a reasonable solution to change the catch clause from catch(IOException e)
to catch(Exception e)?

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Mime
View raw message