Package java.net Previous
Previous
Java API
Java API
Index
Index
Next
Next

Class UnknownHostException

Constructors

public  class  java.net.UnknownHostException
    extends  java.io.IOException  
{
        // Constructors
    public UnknownHostException();	
    public UnknownHostException(String  host);	
}

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.

ParameterDescription
host the detail message



© 1996 Sun Microsystems, Inc. All rights reserved.