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

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

    Details

    • Type: Improvement
    • Status: Resolved
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 2.0.2
    • Fix Version/s: 2.0.8
    • Component/s: Core
    • Labels:
      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

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

              Dates

              • Created:
                Updated:
                Resolved: