[
https://issues.apache.org/jira/browse/DIRMINA-493?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
David M. Lloyd updated DIRMINA-493:
-----------------------------------
Attachment: SingleSessionIoHandler.patch
Patch to add "throws Exception"
> 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
> 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.