Uploaded image for project: 'JGroups'
  1. JGroups
  2. JGRP-892

ConnectionMap.createServerSocket(): throw an exception if socket cannot be created

XMLWordPrintable

    • Icon: Task Task
    • Resolution: Done
    • Icon: Minor Minor
    • 2.6.8
    • 2.6.7, 3.0.10
    • None

      Currently, this method returns null, and unless the caller checks for null, we'll have an NPE later.
      SOLUTION: throw an exception if the socket cannot be created. TODO: check Util.createServerSocket()/createSocket()/createDatagramSocket() as well and see whether we need to throw an exception there, too.

              vblagoje Vladimir Blagojevic (Inactive)
              rhn-engineering-bban Bela Ban
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated:
                Resolved: