Uploaded image for project: 'MINA'
  1. MINA
  2. DIRMINA-493

SingleSessionIoHandlerFactory.getHandler(IoSession) should throw IOException or Exception

VotersWatch issueWatchersLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • None
    • 2.0.0-M1
    • Core
    • None

    Description

      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.

      Attachments

        Activity

          This comment will be Viewable by All Users Viewable by All Users
          Cancel

          People

            trustin Trustin Lee
            dmlloyd David M. Lloyd
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Slack

                Issue deployment