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

Add host and port info to BindException thrown by NioSocketAcceptor#open

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Minor
    • Resolution: Fixed
    • 2.0.2
    • 2.0.8
    • Core
    • None

    Description

      When calling bind on an implementation of the SocketAcceptor (in our case the NioSocketAcceptor) and specifying a port that is already taken the exception does not include the host and port that the connection attempt was made to. Please add the host and port to the exception message so that it's easier to identify what couldn't bind.

      Attachments

        Activity

          People

            Unassigned Unassigned
            justincbeck Justin Beck
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: