Unspecified SSLSocket constructors behavior

XMLWordPrintable



      Name: aiR10266 Date: 06/19/2004


      The description of the SSLSocket constructors states that only IOException may be
      thrown if an I/O error occurs when creating the socket or UnknownHostException may
      be thrown if the host is not known.

      But the implementation throws 'IllegalArgumentException: Port value out of range'
      if port value is invalid (e.g. negative), and NullPointerException if the address
      value is null.


      ======================================================================

            Assignee:
            Xuelei Fan
            Reporter:
            J. Duke
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: