Uses of Class java.net.UnknownHostException

Uses in package gnu.javax.net.ssl.provider

Methods which throw type java.net.UnknownHostException

@Override
@Override
SSLSocketFactoryImpl.SSLSocketImpl createSocket(String host, int port, InetAddress localHost, int localPort)

Uses in package javax.net.ssl

Constructors which throw type java.net.UnknownHostException

SSLSocket.SSLSocket(String host, int port)
Initializes a new instance of Socket and connects to the hostname and port specified as arguments.
SSLSocket.SSLSocket(String host, int port, InetAddress localAddr, int localPort)
Initializes a new instance of Socket that connects to the named host on the specified port and binds to the specified local address and port.

Uses in package gnu.java.net.protocol.ftp

Constructors which throw type java.net.UnknownHostException

Creates a new connection to the server using the default port.
FTPConnection.FTPConnection(String hostname, int port)
Creates a new connection to the server.
FTPConnection.FTPConnection(String hostname, int port, int connectionTimeout, int timeout, boolean debug)
Creates a new connection to the server.

Uses in package javax.net

Methods which throw type java.net.UnknownHostException

Socket
Creates a socket connected to a given host on a given port.
Socket
SocketFactory.createSocket(String host, int port, InetAddress localHost, int localPort)
Creates a socket connected to a given host on a given port, connecting locally to the interface with the given address and port.

Uses in package java.net

Constructors which throw type java.net.UnknownHostException

Socket.Socket(String host, int port)
Initializes a new instance of Socket and connects to the hostname and port specified as arguments.

Methods which throw type java.net.UnknownHostException

InetAddress[]
Returns an array of InetAddress objects representing all the host/ip addresses of a given host, given the host's name.
InetAddress
Returns an InetAddress object given the raw IP address.
InetAddress
InetAddress.getByAddress(String host, byte[] addr)
Creates an InetAddress based on the provided host name and IP address.
Inet6Address
Inet6Address.getByAddress(String host, byte[] addr, int scopeId)
Creates a scoped Inet6Address where the scope has an integer id.
Inet6Address
Creates a scoped Inet6Address where the scope is a given NetworkInterface.
InetAddress
Returns an InetAddress object representing the IP address of the given hostname.
InetAddress
Returns an InetAddress object representing the address of the current host.