Duplicate :
|
|
Duplicate :
|
|
Duplicate :
|
|
Duplicate :
|
|
Relates :
|
|
Relates :
|
Name: bkR10012 Date: 06/01/2004 The description of the SSLSocketFactory.createSocket(Socket s, String host, int port, boolean autoClose) says: "Throws: IOException - if an I/O error occurs when creating the socket UnknownHostException - if the host is not known" But the implementation - does not throw UnknownHostException if the host is not known (e.g. host="incorrect host name") or null - does not throw IOException if the port is negative - throws unspecified NullPointerException if parameter s is null ======================================================================
|