Docjar: A Java Source and Docuemnt Enginecom.*    java.*    javax.*    org.*    all    new    plug-in

Quick Search    Search Deep

Uses of Class
java.net.UnknownHostException

Uses of UnknownHostException in java.net
 

Methods in java.net that throw UnknownHostException
static byte[] VMInetAddress.lookupInaddrAny()
          Returns the value of the special address INADDR_ANY
static java.lang.String VMInetAddress.getHostByAddr(byte[] ip)
          This method returns the hostname for a given IP address.
static byte[][] VMInetAddress.getHostByName(java.lang.String hostname)
          Returns a list of all IP addresses for a given hostname.
static InetAddress InetAddress.getByAddress(byte[] addr)
          Returns an InetAddress object given the raw IP address.
static InetAddress InetAddress.getByAddress(java.lang.String host, byte[] addr)
          Creates an InetAddress based on the provided host name and IP address.
static InetAddress InetAddress.getByName(java.lang.String hostname)
          Returns an InetAddress object representing the IP address of the given hostname.
static InetAddress[] InetAddress.getAllByName(java.lang.String hostname)
          Returns an array of InetAddress objects representing all the host/ip addresses of a given host, given the host's name.
(package private) static InetAddress InetAddress.getInaddrAny()
          Returns the special address INADDR_ANY used for binding to a local port on all IP addresses hosted by a the local host.
static InetAddress InetAddress.getLocalHost()
          Returns an InetAddress object representing the address of the current host.
 

Constructors in java.net that throw UnknownHostException
Socket(java.lang.String host, int port)
          Initializes a new instance of Socket and connects to the hostname and port specified as arguments.