DatagramSocket.send doesn't specify exception thrown when no target address

XMLWordPrintable

    • b24
    • Verified

      DatagramSocket.send doesn't specify the exception thrown when the DatagramSocket is not connected and the packet doesn't have a socket address. The current implementation throws NullPointerException, it should probably be specified to throw IllegalArgumentException.

        There are no Sub-Tasks for this issue.

            Assignee:
            Daniel Fuchs
            Reporter:
            Alan Bateman
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: