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

David M. Lloyd commented on DIRMINA-493:
----------------------------------------

Thanks Trustin!

> SingleSessionIoHandlerFactory.getHandler(IoSession) should throw IOException 
> or Exception
> -----------------------------------------------------------------------------------------
>
>                 Key: DIRMINA-493
>                 URL: https://issues.apache.org/jira/browse/DIRMINA-493
>             Project: MINA
>          Issue Type: Improvement
>          Components: Core
>            Reporter: David M. Lloyd
>            Assignee: Trustin Lee
>            Priority: Minor
>             Fix For: 2.0.0-M1
>
>         Attachments: SingleSessionIoHandler.patch
>
>
> Since the only place that this method is used is within a method that throws 
> Exception, the method should be allowed to throw Exception or IoException.  
> This makes life easier if the creation of the session could fail, for example 
> creating an ObjectOutputStream which could throw IOException.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to