Packages  This Package  Prev  Next  Index  

§4.18 Class UnknownHostException

public  class  java.net.UnknownHostException
    extends  java.io.IOException  (I-§2.29)
{
        // Constructors
    public UnknownHostException();	§4.18.1
    public UnknownHostException(String  host);	§4.18.2
}
Thrown to indicate that the IP address of a host could not be determined.


Constructors

UnknownHostException

public UnknownHostException()
Constructs a new UnknownHostException with no detail message.

UnknownHostException

public UnknownHostException(String host)
Constructs a new UnknownHostException with the specified detail message.
Parameters:
host - the detail message

Packages  This Package  Prev  Next  Index
Java API Document (HTML generated by dkramer on April 22, 1996)
Copyright © 1996 Sun Microsystems, Inc. All rights reserved
Please send any comments or corrections to doug.kramer@sun.com