Package java.net |
![]() Previous |
![]() Java API |
![]() Index |
![]() Next |
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.
public UnknownHostException()Constructs a new UnknownHostException with no detail message.
public UnknownHostException(String host)Constructs a new UnknownHostException with the specified detail message.
Parameter Description host the detail message
© 1996 Sun Microsystems, Inc. All rights reserved.