mina-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "David M. Lloyd (JIRA)" <j...@apache.org>
Subject [jira] Created: (DIRMINA-493) SingleSessionIoHandlerFactory.getHandler(IoSession) should throw IOException or Exception
Date Fri, 07 Dec 2007 15:47:43 GMT
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.


Mime
View raw message